diff --git a/lib/src/util.h b/lib/src/util.h index 10ca5c5..843937b 100644 --- a/lib/src/util.h +++ b/lib/src/util.h @@ -12,7 +12,7 @@ string IlStringToString(Il2CppString* str, UINT codePage = CP_ACP); #define ErrorDialogT(title, msg) MessageBox(unityWnd, msg, title, MB_OK | MB_ICONERROR | MB_SYSTEMMODAL); #define ErrorDialog(msg) ErrorDialogT("YaeAchievement", msg) -#define Win32ErrorDialog(code) ErrorDialogT("YaeAchievement", ("CRITICAL ERROR!\nError code: " + std::to_string(GetLastError()) + "-"#code"\n\nPlease take the screenshot and contact developer by GitHub Issue to solve this problem\nNOT MIHOYO/COGNOSPHERE CUSTOMER SERVICE!").c_str()) +#define Win32ErrorDialog(code) ErrorDialogT("YaeAchievement", ("CRITICAL ERROR!\nError code: " + std::to_string(GetLastError()) + "-"#code"\n\nPlease take the screenshot and contact developer by GitHub Issue to solve this problem\nNOT MIHOYO/COGNOSPHERE CUSTOMER SERVICE!").c_str()) template static T ReadMapped(void* data, int offset, bool littleEndian = false) { diff --git a/src/GlobalVars.cs b/src/GlobalVars.cs index 1210e0e..59d6729 100644 --- a/src/GlobalVars.cs +++ b/src/GlobalVars.cs @@ -15,8 +15,8 @@ public static class GlobalVars { public static Version AppVersion = Assembly.GetEntryAssembly()!.GetName().Version!; public static readonly string AppPath = AppDomain.CurrentDomain.BaseDirectory; - public const uint AppVersionCode = 28; - public const string AppVersionName = "2.0"; + public const uint AppVersionCode = 29; + public const string AppVersionName = "2.1"; public const string LibName = "YaeLib.dll"; public const string PipeName = "YaeAchievementPipe"; public const string BucketHost = "https://cn-cd-1259389942.file.myqcloud.com";