diff --git a/Assets/AndroidIl2cppPatchDemo/Editor/AndroidBuilder.cs b/Assets/AndroidIl2cppPatchDemo/Editor/AndroidBuilder.cs index b665219..9582a83 100644 --- a/Assets/AndroidIl2cppPatchDemo/Editor/AndroidBuilder.cs +++ b/Assets/AndroidIl2cppPatchDemo/Editor/AndroidBuilder.cs @@ -366,7 +366,8 @@ public static bool GenerateBuildScripts() File.WriteAllText(ANDROID_EXPORT_PATH + "/build_apk.bat", allCmd.ToString()); File.WriteAllText(ANDROID_EXPORT_PATH + "/build_aab.bat", allCmd.ToString() .Replace("assembleRelease", "bundleRelease") - .Replace(".apk", ".aab")); + .Replace(".apk", ".aab") + .Replace("apk", "bundle")); return true; }