修改包名
parent
e1fa1e6b45
commit
5667bef4ec
|
|
@ -365,7 +365,7 @@ public static class BuildBundlesHelper
|
||||||
{
|
{
|
||||||
Debug.LogError($"不存在的目录:{dir}");
|
Debug.LogError($"不存在的目录:{dir}");
|
||||||
}
|
}
|
||||||
var levelName = "ProfilesFeature";
|
var levelName = "ProfilesFeatureV2";
|
||||||
|
|
||||||
AssetBundleCollectorPackage package = new AssetBundleCollectorPackage();
|
AssetBundleCollectorPackage package = new AssetBundleCollectorPackage();
|
||||||
package.PackageName = levelName;
|
package.PackageName = levelName;
|
||||||
|
|
|
||||||
|
|
@ -349,7 +349,7 @@ def build_package():
|
||||||
is_build_success = False
|
is_build_success = False
|
||||||
# 热更Bundles文件输出文件夹(Unity输出的源文件)
|
# 热更Bundles文件输出文件夹(Unity输出的源文件)
|
||||||
output_dir = f"{RESOURCE_ROOT}/{platform}"
|
output_dir = f"{RESOURCE_ROOT}/{platform}"
|
||||||
bundle_file_path = output_dir + "/ProfilesFeature/" + build_number
|
bundle_file_path = output_dir + "/ProfilesFeatureV2/" + build_number
|
||||||
if (platform == "Android" or platform == "iOS") and os.path.exists(output_dir):
|
if (platform == "Android" or platform == "iOS") and os.path.exists(output_dir):
|
||||||
isAppendNewLine = False
|
isAppendNewLine = False
|
||||||
if not os.path.exists(bundle_file_path):
|
if not os.path.exists(bundle_file_path):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue