You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Revert "Second take at making command-line arguments more UNIX-like + main.cpp and help cleanup"
This commit is contained in:
@@ -1220,10 +1220,10 @@ Error EditorExportPlatformAndroid::export_project(const String& p_path, bool p_d
|
||||
/*String host = EditorSettings::get_singleton()->get("filesystem/file_server/host");
|
||||
int port = EditorSettings::get_singleton()->get("filesystem/file_server/post");
|
||||
String passwd = EditorSettings::get_singleton()->get("filesystem/file_server/password");
|
||||
cl.push_back("--remote-fs");
|
||||
cl.push_back("-rfs");
|
||||
cl.push_back(host+":"+itos(port));
|
||||
if (passwd!="") {
|
||||
cl.push_back("--remote-fs-password");
|
||||
cl.push_back("-rfs_pass");
|
||||
cl.push_back(passwd);
|
||||
}*/
|
||||
|
||||
@@ -1243,10 +1243,10 @@ Error EditorExportPlatformAndroid::export_project(const String& p_path, bool p_d
|
||||
err = save_pack(pf);
|
||||
memdelete(pf);
|
||||
|
||||
cl.push_back("--use_apk_expansion");
|
||||
cl.push_back("--apk_expansion_md5");
|
||||
cl.push_back("-use_apk_expansion");
|
||||
cl.push_back("-apk_expansion_md5");
|
||||
cl.push_back(FileAccess::get_md5(fullpath));
|
||||
cl.push_back("--apk_expansion_key");
|
||||
cl.push_back("-apk_expansion_key");
|
||||
cl.push_back(apk_expansion_pkey.strip_edges());
|
||||
|
||||
} else {
|
||||
@@ -1262,10 +1262,10 @@ Error EditorExportPlatformAndroid::export_project(const String& p_path, bool p_d
|
||||
}
|
||||
|
||||
if (use_32_fb)
|
||||
cl.push_back("--use_depth_32");
|
||||
cl.push_back("-use_depth_32");
|
||||
|
||||
if (immersive)
|
||||
cl.push_back("--use_immersive");
|
||||
cl.push_back("-use_immersive");
|
||||
|
||||
if (cl.size()) {
|
||||
//add comandline
|
||||
@@ -3330,10 +3330,10 @@ public:
|
||||
/*String host = EditorSettings::get_singleton()->get("filesystem/file_server/host");
|
||||
int port = EditorSettings::get_singleton()->get("filesystem/file_server/post");
|
||||
String passwd = EditorSettings::get_singleton()->get("filesystem/file_server/password");
|
||||
cl.push_back("--remote-fs");
|
||||
cl.push_back("-rfs");
|
||||
cl.push_back(host+":"+itos(port));
|
||||
if (passwd!="") {
|
||||
cl.push_back("--remote-fs-password");
|
||||
cl.push_back("-rfs_pass");
|
||||
cl.push_back(passwd);
|
||||
}*/
|
||||
|
||||
@@ -3350,10 +3350,10 @@ public:
|
||||
return OK;
|
||||
}
|
||||
|
||||
cl.push_back("--use_apk_expansion");
|
||||
cl.push_back("--apk_expansion_md5");
|
||||
cl.push_back("-use_apk_expansion");
|
||||
cl.push_back("-apk_expansion_md5");
|
||||
cl.push_back(FileAccess::get_md5(fullpath));
|
||||
cl.push_back("--apk_expansion_key");
|
||||
cl.push_back("-apk_expansion_key");
|
||||
cl.push_back(apk_expansion_pkey.strip_edges());
|
||||
|
||||
} else {
|
||||
@@ -3367,10 +3367,10 @@ public:
|
||||
}
|
||||
|
||||
if (use_32_fb)
|
||||
cl.push_back("--use_depth_32");
|
||||
cl.push_back("-use_depth_32");
|
||||
|
||||
if (immersive)
|
||||
cl.push_back("--use_immersive");
|
||||
cl.push_back("-use_immersive");
|
||||
|
||||
if (cl.size()) {
|
||||
//add comandline
|
||||
|
||||
Reference in New Issue
Block a user