Merge pull request #16669 from akien-mga/fix-apk-expansion
Fix broken APK expansion due to missed option renames
This commit is contained in:
commit
5d80235ead
2 changed files with 2 additions and 2 deletions
|
@ -404,7 +404,7 @@ public class Godot extends Activity implements SensorEventListener, IDownloaderC
|
|||
new_cmdline = new String[2];
|
||||
}
|
||||
|
||||
new_cmdline[cll] = "--main_pack";
|
||||
new_cmdline[cll] = "--main-pack";
|
||||
new_cmdline[cll + 1] = expansion_pack_path;
|
||||
command_line = new_cmdline;
|
||||
}
|
||||
|
|
|
@ -926,7 +926,7 @@ JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_setup(JNIEnv *env, jo
|
|||
} else {
|
||||
//__android_log_print(ANDROID_LOG_INFO,"godot","cmdline arg %i is: %s\n",i,rawString);
|
||||
|
||||
if (strcmp(rawString, "-main_pack") == 0)
|
||||
if (strcmp(rawString, "--main-pack") == 0)
|
||||
use_apk_expansion = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue