|
@@ -44,6 +44,7 @@ namespace GFGGame
|
|
|
|
|
|
public static void InitScriptCompilation()
|
|
public static void InitScriptCompilation()
|
|
{
|
|
{
|
|
|
|
+ launcherRootUrl = "http://gfg1.obs.cn-north-4.myhuaweicloud.com/gameRes/";
|
|
#if PT_DEV
|
|
#if PT_DEV
|
|
//外网dev版本
|
|
//外网dev版本
|
|
netType = EnumNetType.PUBLIC;
|
|
netType = EnumNetType.PUBLIC;
|
|
@@ -62,17 +63,9 @@ namespace GFGGame
|
|
#else
|
|
#else
|
|
netType = EnumNetType.LOCAL;
|
|
netType = EnumNetType.LOCAL;
|
|
cfgName = "cfg_local";
|
|
cfgName = "cfg_local";
|
|
|
|
+ launcherRootUrl = "http://10.108.64.189:81/";
|
|
#endif
|
|
#endif
|
|
- if (netType == EnumNetType.LOCAL)
|
|
|
|
- {
|
|
|
|
- launcherRootUrl = "http://10.108.64.189:81/";
|
|
|
|
- cfgUrl = launcherRootUrl + "platform/{cfgName}.json";
|
|
|
|
- }
|
|
|
|
- else
|
|
|
|
- {
|
|
|
|
- launcherRootUrl = "http://gfg1.obs.cn-north-4.myhuaweicloud.com/gameRes/";
|
|
|
|
- cfgUrl = launcherRootUrl + "platform/{cfgName}.json";
|
|
|
|
- }
|
|
|
|
|
|
+ cfgUrl = launcherRootUrl + "platform/{cfgName}.json";
|
|
}
|
|
}
|
|
|
|
|
|
public static void InitPlatform(string json)
|
|
public static void InitPlatform(string json)
|