mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-08 00:10:29 +03:00
Also find zipalign at the start
This commit is contained in:
parent
d110c24eff
commit
d73f2b9368
2 changed files with 6 additions and 3 deletions
|
|
@ -160,8 +160,7 @@ def main():
|
|||
raise BuildException("Failed to sign application")
|
||||
|
||||
# Zipalign it...
|
||||
p = FDroidPopen([os.path.join(config['sdk_path'], 'tools', 'zipalign'),
|
||||
'-v', '4', apkfile,
|
||||
p = FDroidPopen([config['zipalign'], '-v', '4', apkfile,
|
||||
os.path.join(output_dir, apkfilename)])
|
||||
if p.returncode != 0:
|
||||
raise BuildException("Failed to align application")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue