From c9cb7d4777af8ddf862252d5f9d876f01bd770d8 Mon Sep 17 00:00:00 2001 From: Skull <86374920+skkuull@users.noreply.github.com> Date: Fri, 4 Feb 2022 05:49:34 +0200 Subject: [PATCH] app information --- src/client/launcher/launcher.cpp | 2 +- src/client/loader/tls.cpp | 2 +- src/client/resource.rc | 12 ++++++------ src/common/exception/minidump.cpp | 2 +- src/common/utils/toast.cpp | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/client/launcher/launcher.cpp b/src/client/launcher/launcher.cpp index 270ad799..2f7ef128 100644 --- a/src/client/launcher/launcher.cpp +++ b/src/client/launcher/launcher.cpp @@ -43,7 +43,7 @@ void launcher::create_main_menu() return DefWindowProcA(*window, message, w_param, l_param); }); - this->main_window_.create("S1x", 750, 420); + this->main_window_.create("H1-Mod", 750, 420); this->main_window_.load_html(load_content(MENU_MAIN)); this->main_window_.show(); } diff --git a/src/client/loader/tls.cpp b/src/client/loader/tls.cpp index 61195e16..a9f3b8be 100644 --- a/src/client/loader/tls.cpp +++ b/src/client/loader/tls.cpp @@ -8,7 +8,7 @@ namespace tls { namespace { - utils::binary_resource tls_dll_file(TLS_DLL, "s1x-tlsdll.dll"); + utils::binary_resource tls_dll_file(TLS_DLL, "h1-tlsdll.dll"); } PIMAGE_TLS_DIRECTORY allocate_tls_index() diff --git a/src/client/resource.rc b/src/client/resource.rc index 62ba38f8..f794d347 100644 --- a/src/client/resource.rc +++ b/src/client/resource.rc @@ -70,15 +70,15 @@ BEGIN BEGIN BLOCK "040904b0" BEGIN - VALUE "CompanyName", "X Labs" - VALUE "FileDescription", "S1x" + VALUE "CompanyName", "XLabs" + VALUE "FileDescription", "H1-Mod" VALUE "FileVersion", VERSION_FILE - VALUE "InternalName", "S1x" + VALUE "InternalName", "H1-Mod" VALUE "LegalCopyright", "Copyright (C) 2021 X Labs Project. All rights reserved." VALUE "Licence", "GPLv3" - VALUE "Info", "https://github.com/XLabsProject/s1x-client" - VALUE "OriginalFilename", "s1x.exe" - VALUE "ProductName", "s1x" + VALUE "Info", "https://github.com/skkuull/h1-mod/" + VALUE "OriginalFilename", "h1-mod.exe" + VALUE "ProductName", "h1-mod" VALUE "ProductVersion", VERSION_PRODUCT END END diff --git a/src/common/exception/minidump.cpp b/src/common/exception/minidump.cpp index 164cd628..9e956acc 100644 --- a/src/common/exception/minidump.cpp +++ b/src/common/exception/minidump.cpp @@ -28,7 +28,7 @@ namespace exception char pathname[MAX_PATH] = {0}; GetTempPathA(sizeof(pathname), pathname); - GetTempFileNameA(pathname, "S1x-", 0, filename); + GetTempFileNameA(pathname, "H1-", 0, filename); return filename; } diff --git a/src/common/utils/toast.cpp b/src/common/utils/toast.cpp index 8d23af25..b39ca5fa 100644 --- a/src/common/utils/toast.cpp +++ b/src/common/utils/toast.cpp @@ -27,9 +27,9 @@ namespace utils return success; } - instance->setAppName(L"S1x"); + instance->setAppName(L"H1-Mod"); instance->setAppUserModelId( - WinToastLib::WinToast::configureAUMI(L"X Labs", L"s1x", L"", L"20201212")); + WinToastLib::WinToast::configureAUMI(L"X Labs", L"H1-Mod", L"", L"20201212")); WinToastLib::WinToast::WinToastError error; success = instance->initialize(&error);