dongguoliang@kuaifazs.com преди 3 години
родител
ревизия
93d2debf61
променени са 1 файла, в които са добавени 11 реда и са изтрити 2 реда
  1. 11 2
      蛋仔派对酷派/script.py

+ 11 - 2
蛋仔派对酷派/script.py

@@ -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):
-    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")
         if os.path.exists(s1):
             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)
             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