1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-26 15:46:23 +00:00

adds -pm and -project_manager command line options to start project manager

fixes bug where the user has an engine.cfg on the executable directory so it runs the game instead of opening the project manager
This commit is contained in:
Ariel Manzur
2016-02-25 03:02:09 -03:00
committed by Rémi Verschelde
parent d86b12a397
commit 45a0bbe56e
2 changed files with 8 additions and 4 deletions

View File

@@ -2671,8 +2671,9 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) {
String exec = OS::get_singleton()->get_executable_path();
List<String> args;
args.push_back ( "-path" );
args.push_back (exec.get_base_dir() );
//args.push_back ( "-path" );
//args.push_back (exec.get_base_dir() );
args.push_back("-pm");
OS::ProcessID pid=0;
Error err = OS::get_singleton()->execute(exec,args,false,&pid);