三国卡牌客户端基础资源仓库
yyl
2026-05-12 739e2e27535278b763fd5d25aff14a0680c3a8e4
cdnurl update
1个文件已修改
4 ■■■■ 已修改文件
Assets/Launch/Launch.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Launch/Launch.cs
@@ -140,7 +140,7 @@
            // 否则回退到 WebGLRemoteConfig(Editor 模拟或无版本服务器场景)。
            string webCdnUrl = VersionConfigEx.config?.cdnUrl;
            remoteServices = !string.IsNullOrEmpty(webCdnUrl)
                ? new UrlRemoteServices(webCdnUrl)
                ? new UrlRemoteServices(webCdnUrl + "/" + Application.platform.ToString().ToLower())
                : WebGLRemoteConfig.CreateRemoteServices();
            Debug.Log($"[Launch] WebGL remoteServices url={(!string.IsNullOrEmpty(webCdnUrl) ? webCdnUrl : WebGLRemoteConfig.ActiveServerURL)}");
#else
@@ -154,7 +154,7 @@
            if (!string.IsNullOrEmpty(cdnUrl))
            {
                playMode = EPlayMode.HostPlayMode;
                remoteServices = new UrlRemoteServices(cdnUrl);
                remoteServices = new UrlRemoteServices(cdnUrl + "/" + Application.platform.ToString().ToLower());
                Debug.Log($"[Launch] cdnUrl={cdnUrl}, using HostPlayMode");
            }
            else