mirror of
https://github.com/HolographicHat/Yae.git
synced 2025-12-17 11:58:14 +08:00
implement appcenter and minor fix
This commit is contained in:
@@ -3,21 +3,25 @@ using System.Reflection;
|
||||
|
||||
namespace YaeAchievement;
|
||||
|
||||
[SuppressMessage("Usage", "CA2211:非常量字段应当不可见")]
|
||||
[SuppressMessage("ReSharper", "ConvertToConstant.Global")]
|
||||
[SuppressMessage("ReSharper", "FieldCanBeMadeReadOnly.Global")]
|
||||
|
||||
#pragma warning disable CA2211
|
||||
public static class GlobalVars {
|
||||
|
||||
public static bool Verbose = false;
|
||||
public static bool DebugProxy = false;
|
||||
public static bool CheckGamePath = true;
|
||||
public static bool UnexpectedExit = true;
|
||||
public static string GamePath = "";
|
||||
public static string GamePath = null!;
|
||||
public static Logger.Level LogLevel = Logger.Level.Info;
|
||||
public static Version AppVersion = Assembly.GetEntryAssembly()!.GetName().Version!;
|
||||
|
||||
public const uint AppVersionCode = 77;
|
||||
public const string AppVersionName = "2.?";
|
||||
public const uint AppVersionCode = 28;
|
||||
public const string AppVersionName = "2.0";
|
||||
public const string LibName = "YaeLib.dll";
|
||||
public const string PipeName = "YaeAchievementPipe";
|
||||
public const string BucketHost = "https://cn-cd-1259389942.file.myqcloud.com";
|
||||
public const string ConfigFileName = "YaeAchievement.runtimeconfig.json";
|
||||
|
||||
}
|
||||
#pragma warning restore CA2211
|
||||
|
||||
Reference in New Issue
Block a user