123456789101112131415161718192021222324 |
- # -*- coding:utf-8 -*-
- import sys, os, traceback
- import PrintLog, merge_apk
- def package():
- PrintLog.DEBUG = True
- if len(sys.argv) < 2:
- print("参数数量不正确")
- exit(1)
- config = sys.argv[1]
- if not os.path.exists(config):
- print("配置文件不存在")
- exit(1)
- ret = merge_apk.startMerge(config)
- if ret:
- print("切包失败,请联系开发人员")
- exit(1)
- print("成功")
- exit(0)
- package()
|