From 43aa7a16e2d486f31be2bd92042756a061d6f7ee Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 05 一月 2026 17:04:51 +0800
Subject: [PATCH] 0312 增加渠道独立配置 名字包含OPConfig.txt的不做md5下载验证,每次登录都直接拉取
---
Assets/Editor/Tool/BuiltInResourceSetting.cs | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/Assets/Editor/Tool/BuiltInResourceSetting.cs b/Assets/Editor/Tool/BuiltInResourceSetting.cs
index 10c827e..e8598f2 100644
--- a/Assets/Editor/Tool/BuiltInResourceSetting.cs
+++ b/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)
{
--
Gitblit v1.8.0