mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
fix
This commit is contained in:
parent
cab1a008e7
commit
2d6be14fa5
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version":"v2.45.9",
|
"version":"v2.45.10",
|
||||||
"themes":{
|
"themes":{
|
||||||
"dark":[
|
"dark":[
|
||||||
{"file":"dark1.qss","name":"PyQtDarkTheme"},
|
{"file":"dark1.qss","name":"PyQtDarkTheme"},
|
||||||
|
@ -34,8 +34,14 @@ int lewmain(int argc, wchar_t *argv[])
|
|||||||
ULONG64 Unused = 0;
|
ULONG64 Unused = 0;
|
||||||
} LEB;
|
} LEB;
|
||||||
GetTimeZoneInformation(&LEB.Timezone);
|
GetTimeZoneInformation(&LEB.Timezone);
|
||||||
((LONG(__stdcall *)(decltype(&LEB), LPCWSTR appName, LPWSTR commandLine, LPCWSTR currentDir, void *, void *, PROCESS_INFORMATION *, void *, void *, void *, void *))
|
auto ret = ((LONG(__stdcall *)(decltype(&LEB), LPCWSTR appName, LPWSTR commandLine, LPCWSTR currentDir, void *, void *, PROCESS_INFORMATION *, void *, void *, void *, void *))
|
||||||
GetProcAddress(localeEmulator, "LeCreateProcess"))(&LEB, NULL, cmd_x, path.c_str(), NULL, NULL, &info, NULL, NULL, NULL, NULL);
|
GetProcAddress(localeEmulator, "LeCreateProcess"))(&LEB, NULL, cmd_x, path.c_str(), NULL, NULL, &info, NULL, NULL, NULL, NULL);
|
||||||
|
if (ret == 0)
|
||||||
|
{
|
||||||
|
WaitForSingleObject(info.hProcess, INFINITE);
|
||||||
|
CloseHandle(info.hProcess);
|
||||||
|
CloseHandle(info.hThread);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user