Bladeren bron

修改天宇游打包脚本2

zengqb 5 jaren geleden
bovenliggende
commit
823362c1fc

+ 0 - 1
sdk/jm_tianyuyou/assets/tygrm_ak.json

@@ -1 +0,0 @@
-{"cp_game_id":40712,"a":20715,"k":"tyy99315ad3f0ed3fe1a6cfd2b0a3d3621daf85c5ff","game_name":"疾风战纪"}

+ 0 - 17
sdk/jm_tianyuyou/assets/tygrm_config_p.json

@@ -1,17 +0,0 @@
-{
-	"splash_land": "tyr_splash_land.png",
-	"splash_port": "tyr_splash_port.png",
-	"splash_bgc": "#00000000",
-	"splash_sc": {
-		"setScaleType": false,
-		"type": 0
-	},
-	"agent_id": "1008",
-	"agent_app_id": "73679",
-	"sub_sdk_param": {
-		"TY_APPID": "73679",
-		"TY_CLIENTID": "13678",
-		"TY_CLIENTKEY": "8e201288ed380bfc00470b444fb4928c",
-		"URL_ID": "14611"
-	}
-}

+ 3 - 2
sdk/jm_tianyuyou/script/sdk_script.py

@@ -21,7 +21,8 @@ def execute(game, sdk, config):
     common_utils.changeApplication(game, sdk, subChannel, config, 'com.tygrm.sdk.TYRApplication')
 
     #生成json
-
+    addAKJson(game, sdk, subChannel, config)
+    addPJson(game, sdk, subChannel, config)
 
     return 0
 
@@ -199,7 +200,7 @@ def addPJson(game, sdk, subChannel, config):
 
     print('add config.json...')
     decompliePath = file_utils.getDecompliePath(game, sdk, subChannel, config['cache'])
-    configJson = os.path.join(decompliePath, 'assets', 'jmhy_config.json')
+    configJson = os.path.join(decompliePath, 'assets', 'tygrm_config_p.json')
     jsonText = json.dumps(config['configData'], ensure_ascii=False)
     file_utils.createFile(configJson, jsonText)
     return 0