mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-09 02:41:06 +03:00
Deprecate aapt_path in favour of sdk_path + build_tools
This commit is contained in:
parent
d86a68b858
commit
ece2ece071
4 changed files with 4 additions and 22 deletions
|
@ -267,10 +267,7 @@ def scan_apks(apps, apkcache, repodir, knownapks):
|
|||
thisinfo['size'] = os.path.getsize(apkfile)
|
||||
thisinfo['permissions'] = []
|
||||
thisinfo['features'] = []
|
||||
if not os.path.exists(aapt_path):
|
||||
print "Missing aapt - check aapt_path in your config"
|
||||
sys.exit(1)
|
||||
p = subprocess.Popen([aapt_path,
|
||||
p = subprocess.Popen([os.path.join(sdk_path, 'build-tools', build_tools, 'aapt'),
|
||||
'dump', 'badging', apkfile],
|
||||
stdout=subprocess.PIPE)
|
||||
output = p.communicate()[0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue