三国卡牌客户端基础资源仓库
0312 增加渠道独立配置  名字包含OPConfig.txt的不做md5下载验证,每次登录都直接拉取
4个文件已删除
3个文件已修改
44 ■■■■■ 已修改文件
Assets/Editor/AssetBundleBrowser/AssetBundleBuildTab.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Editor/Logo/txws/txwsOPConfig.txt 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Editor/Logo/txws/txwsOPConfig.txt.meta 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Editor/Logo/xssg/xssgOPConfig.txt 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Editor/Logo/xssg/xssgOPConfig.txt.meta 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Editor/Tool/AssetsVersionMaker.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Editor/Tool/BuiltInResourceSetting.cs 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Editor/AssetBundleBrowser/AssetBundleBuildTab.cs
@@ -652,7 +652,6 @@
            BuiltInResourceSetting.SetLaunchBackGround(publishers.Split('|')[0], (BuildTarget)m_UserData.m_BuildTarget);
            BuiltInResourceSetting.SetLoginBackGround(publishers.Split('|')[0], (BuildTarget)m_UserData.m_BuildTarget);
            BuiltInResourceSetting.SetLoginLogo(publishers.Split('|')[0], (BuildTarget)m_UserData.m_BuildTarget);
            BuiltInResourceSetting.SetOPConfig(publishers.Split('|')[0], (BuildTarget)m_UserData.m_BuildTarget);
            UpdateBuiltInSetting.SetBuiltinAssetBundleName();
            ExcuteBuildAsset("builtin");
        }
@@ -680,7 +679,6 @@
        private void ExcuteBuildConfig()
        {
            UpdateScriptableObjectsSetting.SetAllScriptableObjectAssetBundleName();
            BuiltInResourceSetting.SetOPConfig(publishers.Split('|')[0], (BuildTarget)m_UserData.m_BuildTarget);
            ExcuteBuildAsset("config");
            TableTool.CopyConfigsToOutPutPath(StringUtility.Concat(m_UserData.m_OutputPath, "/config"));
            Debug.Log("config 处理完成");
Assets/Editor/Logo/txws/txwsOPConfig.txt
File was deleted
Assets/Editor/Logo/txws/txwsOPConfig.txt.meta
File was deleted
Assets/Editor/Logo/xssg/xssgOPConfig.txt
File was deleted
Assets/Editor/Logo/xssg/xssgOPConfig.txt.meta
File was deleted
Assets/Editor/Tool/AssetsVersionMaker.cs
@@ -33,6 +33,10 @@
            {
                continue;
            }
            if (fileInfo.FullName.Contains("OPConfig.txt"))
            {
                continue;
            }
            relativePath = FileExtersion.GetFileRelativePath(_path, fileInfo.FullName);
            extersion = fileInfo.Extension;
Assets/Editor/Tool/BuiltInResourceSetting.cs
@@ -152,19 +152,7 @@
        }
    }
    public static void SetOPConfig(string publisher, BuildTarget buildTarget)
    {
        var opName = GetVersionName(publisher);
        var fromPath = $"Assets/Editor/Logo/{opName}/{opName}OPConfig.txt";
        var toPath = "Assets/ResourcesOut/Config/OPConfig.txt";
        AssetDatabase.DeleteAsset(toPath);
        var root = Application.dataPath.Substring(0, Application.dataPath.Length - 6) + "/";
        File.Copy(root + fromPath, root + toPath);
        AssetDatabase.SaveAssets();
        AssetDatabase.Refresh();
    }
    static string GetVersionName(string _publisher)
    {