mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
[win] online-installer: debug
This commit is contained in:
@ -40,7 +40,7 @@ int WINAPI _tWinMain(_In_ HINSTANCE hInst, _In_opt_ HINSTANCE hPrevInstance, _In
|
||||
{
|
||||
UNREFERENCED_PARAMETER(hPrevInstance);
|
||||
std::locale::global(std::locale(""));
|
||||
Translator lang(LOCALE_USER_DEFAULT, IDT_TRANSLATIONS);
|
||||
Translator lang(GetUserDefaultUILanguage(), IDT_TRANSLATIONS);
|
||||
HANDLE hMutex = CreateMutex(NULL, FALSE, _T(VER_PRODUCTNAME_STR));
|
||||
if (GetLastError() == ERROR_ALREADY_EXISTS) {
|
||||
NS_Utils::ShowMessage(_TR(MESSAGE_TEXT_ERR2));
|
||||
|
||||
Reference in New Issue
Block a user