mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 18:20:39 +08:00
fix: global resource path
This commit is contained in:
@@ -164,7 +164,7 @@ public class VersionUpdateSettingsUserControlModel : PropertyChangedBase
|
||||
string defaultJsonPath = Path.Combine(AsstProxy.MainResourcePath(), "resource/version.json");
|
||||
var jsonPath = isDefaultClient
|
||||
? defaultJsonPath
|
||||
: $"resource/global/{clientType}/resource/version.json";
|
||||
: Path.Combine(AsstProxy.MainResourcePath(), $"resource/global/{clientType}/resource/version.json");
|
||||
|
||||
string versionName;
|
||||
if (!File.Exists(defaultJsonPath) || (!isDefaultClient && !File.Exists(jsonPath)))
|
||||
|
||||
Reference in New Issue
Block a user