mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-23 20:38:07 +01:00
Small code cleanup.
This commit is contained in:
parent
1125f33675
commit
10cd4cea80
2 changed files with 3 additions and 7 deletions
|
@ -56,7 +56,7 @@ build_steamos:
|
||||||
|
|
||||||
build_windows:
|
build_windows:
|
||||||
stage: build
|
stage: build
|
||||||
image: fedora
|
image: fedora:30
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- dnf -y install wine wget p7zip sed dos2unix
|
- dnf -y install wine wget p7zip sed dos2unix
|
||||||
|
@ -107,7 +107,7 @@ build_cmake_linux:
|
||||||
|
|
||||||
build_cmake_windows:
|
build_cmake_windows:
|
||||||
stage: build
|
stage: build
|
||||||
image: fedora
|
image: fedora:30
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- dnf update -y
|
- dnf update -y
|
||||||
|
|
|
@ -100,11 +100,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance
|
||||||
ExitProcess(NULL);
|
ExitProcess(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ExeFile[0] != NULL && CreateProcessA(ExeFile, ExeCommandLine, NULL, NULL, TRUE, CREATE_SUSPENDED, NULL, ExeRunDir, &info, &processInfo))
|
if (!ExeFile[0] || !CreateProcessA(ExeFile, ExeCommandLine, NULL, NULL, TRUE, CREATE_SUSPENDED, NULL, ExeRunDir, &info, &processInfo))
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
MessageBoxA(NULL, "Unable to load the requested EXE file.", "ColdClientLoader", MB_ICONERROR);
|
MessageBoxA(NULL, "Unable to load the requested EXE file.", "ColdClientLoader", MB_ICONERROR);
|
||||||
ExitProcess(NULL);
|
ExitProcess(NULL);
|
||||||
|
|
Loading…
Reference in a new issue