From 4e94d67d0ba06a621424891e2a4a1b8c092a0aba Mon Sep 17 00:00:00 2001 From: HolographicHat Date: Wed, 24 Aug 2022 17:03:06 +0800 Subject: [PATCH] Bump version to 2.1 --- lib/src/util.h | 2 +- src/GlobalVars.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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";