少年修仙传客户端基础资源
hch
2024-01-18 2d8a0b32f5a13e387792475d2c2de213148544ce
0312 越南打包增加deps文件处理
1个文件已修改
6 ■■■■■ 已修改文件
Assets/Editor/Tool/ClientPackage.cs 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Editor/Tool/ClientPackage.cs
@@ -51,7 +51,7 @@
    static string File_LauncherManifest = Application.dataPath + "/Plugins/Android/LauncherManifest.xml";
    static string File_launcherTemplate = Application.dataPath + "/Plugins/Android/launcherTemplate.gradle";
    static string File_mainTemplate = Application.dataPath + "/Plugins/Android/mainTemplate.gradle";
    static string File_deps = Application.dataPath + "/Plugins/Android/deps.gradle";
    /// <summary>
    /// 打包
@@ -454,6 +454,8 @@
            File.Delete(File_launcherTemplate);
        if (File.Exists(File_mainTemplate))
            File.Delete(File_mainTemplate);
        if (File.Exists(File_deps))
            File.Delete(File_deps);
        var variant = _development ? "debug" : "release";
        string channelSdkPath;
@@ -465,7 +467,7 @@
        copySdkFile = StringUtility.Contact(_sdkPath, "/Channel/Android/", versionConfig.appId, "/baseProjectTemplate.gradle");
        File.Copy(copySdkFile, File_baseProjectTemplate);
        copySdkFile = StringUtility.Contact(_sdkPath, "/Channel/Android/", versionConfig.appId, "/deps.gradle");
        File.Copy(copySdkFile, File_baseProjectTemplate);
        File.Copy(copySdkFile, File_deps);
        copySdkFile = StringUtility.Contact(_sdkPath, "/Channel/Android/", versionConfig.appId, "/google-services.json");
        File.Copy(copySdkFile, File_google_services);
        copySdkFile = StringUtility.Contact(_sdkPath, "/Channel/Android/", versionConfig.appId, "/gradleTemplate.properties");