|
@@ -38,8 +38,8 @@ def script(SDK, decompileDir, channelSdkInfo, new_game_channel_info, gameInfo):
|
|
|
|
|
|
|
|
|
|
|
|
|
def script_last(SDK, decompileDir, channelSdkInfo, new_game_channel_info, gameInfo):
|
|
def script_last(SDK, decompileDir, channelSdkInfo, new_game_channel_info, gameInfo):
|
|
|
- sdk_name = channelSdkInfo['sdk_name']
|
|
|
|
|
- if sdk_name == "reverseforachannel_ydzs":
|
|
|
|
|
|
|
+ sdk_id = channelSdkInfo['id']
|
|
|
|
|
+ if sdk_id == "597":
|
|
|
s1 = os.path.join(decompileDir, "smali_classes4")
|
|
s1 = os.path.join(decompileDir, "smali_classes4")
|
|
|
if os.path.exists(s1):
|
|
if os.path.exists(s1):
|
|
|
smali_classes2_dir = create_mutil_smali(decompileDir)
|
|
smali_classes2_dir = create_mutil_smali(decompileDir)
|
|
@@ -56,6 +56,15 @@ def script_last(SDK, decompileDir, channelSdkInfo, new_game_channel_info, gameIn
|
|
|
distutils.dir_util.mkpath(s3)
|
|
distutils.dir_util.mkpath(s3)
|
|
|
move_package_one(s1, s3)
|
|
move_package_one(s1, s3)
|
|
|
|
|
|
|
|
|
|
+ if sdk_id == "549":
|
|
|
|
|
+ s1 = os.path.join(decompileDir, "smali_classes8", "com")
|
|
|
|
|
+ if os.path.exists(s1):
|
|
|
|
|
+ smali_classes2_dir = create_mutil_smali(decompileDir)
|
|
|
|
|
+ s3 = os.path.join(smali_classes2_dir, "com")
|
|
|
|
|
+ if not os.path.exists(s3):
|
|
|
|
|
+ distutils.dir_util.mkpath(s3)
|
|
|
|
|
+ move_package(s1, s3, ["netease"])
|
|
|
|
|
+
|
|
|
return
|
|
return
|
|
|
|
|
|
|
|
|
|
|