diff --git a/Editor/Editor.cpp b/Editor/Editor.cpp index a20d6605..87ca7842 100644 --- a/Editor/Editor.cpp +++ b/Editor/Editor.cpp @@ -95,6 +95,13 @@ LaunchSettings ParseLaunchSettings(const std::vector& arguments) launchSettings.monitor = stoi(arguments[i + 1]); } } + else if (argumentSize == 2 && Nuake::FileSystem::FileExists(arg)) + { + if (Nuake::String::EndsWith(arg, ".project")) + { + launchSettings.projectPath = arg; + } + } i++; }