Browse Source

适配紫云jar包与游戏冲突 3

zengqb 5 years ago
parent
commit
a3e33de580
3 changed files with 2 additions and 3 deletions
  1. 0 1
      package_web.py
  2. BIN
      sdk/yfsdk/libs/jimiAdSDK-1.0.7.jar
  3. 2 2
      sdk_script/jm_zy_ysdk.py

+ 0 - 1
package_web.py

@@ -83,7 +83,6 @@ def package(config, sdk):
     # 必须参数
     jsonConfig['packageName'] = config['packageName']
     jsonConfig['name'] = config['name']
-    jsonConfig['game'] = game
 
     # 可选参数
     if 'outName' in config:

BIN
sdk/yfsdk/libs/jimiAdSDK-1.0.7.jar


+ 2 - 2
sdk_script/jm_zy_ysdk.py

@@ -50,6 +50,6 @@ def getSdkConfig(jsonConfig, config):
         else:
             jsonConfig['libConfig'] = 'default'
 
-
-        if config['game'] == 'ahlz':
+        print("app ==== " + config['app'])
+        if config['app'] == 'ahlz':
             jsonConfig['libConfig'] = 'ahlz'