Sfoglia il codice sorgente

Merge pull request #109608 from syntaxerror247/patch-2

Android: Fix build command for AAB export
Thaddeus Crews 2 mesi fa
parent
commit
f3b908bcc1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      platform/android/export/export_plugin.cpp

+ 1 - 1
platform/android/export/export_plugin.cpp

@@ -3751,7 +3751,7 @@ Error EditorExportPlatformAndroid::export_project_helper(const Ref<EditorExportP
 		String edition = has_dotnet_project ? "Mono" : "Standard";
 		String edition = has_dotnet_project ? "Mono" : "Standard";
 		String build_type = p_debug ? "Debug" : "Release";
 		String build_type = p_debug ? "Debug" : "Release";
 		if (export_format == EXPORT_FORMAT_AAB) {
 		if (export_format == EXPORT_FORMAT_AAB) {
-			String bundle_build_command = vformat("bundle%s", build_type);
+			String bundle_build_command = vformat("bundle%s%s", edition, build_type);
 			cmdline.push_back(bundle_build_command);
 			cmdline.push_back(bundle_build_command);
 		} else if (export_format == EXPORT_FORMAT_APK) {
 		} else if (export_format == EXPORT_FORMAT_APK) {
 			String apk_build_command = vformat("assemble%s%s", edition, build_type);
 			String apk_build_command = vformat("assemble%s%s", edition, build_type);