-
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
1,762 additions
and
138 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
CollapseLauncher/Classes/CachesManagement/Zenless/ZenlessCache.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using CollapseLauncher.GameSettings.Zenless; | ||
using CollapseLauncher.Interfaces; | ||
using Microsoft.UI.Xaml; | ||
using System.Threading.Tasks; | ||
|
||
namespace CollapseLauncher | ||
{ | ||
internal class ZenlessCache : ZenlessRepair, ICache, ICacheBase<ZenlessCache> | ||
{ | ||
public ZenlessCache(UIElement parentUI, IGameVersionCheck gameVersionManager, ZenlessSettings gameSettings) | ||
: base(parentUI, gameVersionManager, gameSettings, false, null, true) | ||
{ } | ||
|
||
public ZenlessCache AsBaseType() => this; | ||
|
||
public async Task StartUpdateRoutine(bool showInteractivePrompt = false) | ||
=> await StartRepairRoutine(showInteractivePrompt); | ||
} | ||
} |
109 changes: 108 additions & 1 deletion
109
CollapseLauncher/Classes/GameManagement/GameVersion/Zenless/VersionCheck.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.