From 8385e86c4255ca3f06c9e5ab11299928c9effe95 Mon Sep 17 00:00:00 2001 From: LuDong Date: Mon, 2 Sep 2024 17:05:17 +0800 Subject: [PATCH] fix aab's path --- Assets/AndroidIl2cppPatchDemo/Editor/AndroidBuilder.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }