| 12345678910111213141516171819202122232425262728293031323334353637 |
- # -*- coding:utf-8 -*-
- __author__ = 'ALIXie'
- import os
- import logging
- import distutils.dir_util
- import gw_apk_tool
- def script_init(workspace_sdk_dir, extract_dir, channelSdkInfo, new_game_channel_info, game_info):
- return
- def script_last(SDK, decompileDir, channelSdkInfo, new_game_channel_info, gameInfo):
- logging.info('------------channelSdkInfo:' + str(channelSdkInfo))
- if channelSdkInfo['id'] == '597':
- move(decompileDir)
- else:
- ""
- def move(decompileDir):
- s1 = os.path.join(decompileDir, "smali_classes2")
- smali_classes2_dir = gw_apk_tool.create_mutil_smali(decompileDir)
- s3 = os.path.join(smali_classes2_dir)
- list_package = ["com"]
- if not os.path.exists(s3):
- distutils.dir_util.mkpath(s3)
- gw_apk_tool.move_package(s1, s3, list_package)
- def move_smallsheep(decompileDir):
- ""
- if __name__ == "__main__":
- ""
|