mirror of
https://github.com/Dingo-Shenanigans/ReSkate.git
synced 2026-10-17 13:57:05 +02:00
Update main.cpp
This commit is contained in:
1 parent
6f1dae531c
commit
314d31fe7b
1 file changed
+4
-1
+4
-1
@@ -688,7 +688,10 @@ int WINAPI wWinMain(HINSTANCE instance, HINSTANCE, PWSTR, int cmd_show) {
|
||||
for (int i = 1; i < argc; ++i) {
|
||||
if (!argvW[i]) continue;
|
||||
std::wstring arg = argvW[i];
|
||||
if (arg == L"--headless" || arg == L"--cli" || arg == L"--no-gui" || arg == L"-nogui" || arg == L"-headless" || arg == L"-cli") {
|
||||
// The release build's world layer export (serve) is a console job too: the window would
|
||||
// open instead and nothing would be written.
|
||||
if (arg == L"--headless" || arg == L"--cli" || arg == L"--no-gui" || arg == L"-nogui" || arg == L"-headless" || arg == L"-cli" ||
|
||||
arg == L"--export-world-layers") {
|
||||
headless = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user