Commit c8cc652b authored by topjohnwu's avatar topjohnwu

Prevent build fail when APK is first built without out folder

parent 4b6285e5
......@@ -214,6 +214,7 @@ def build_apk(args):
header('Output: ' + release)
rm(unsigned)
# Dump the stub APK to header
mkdir(os.path.join('native', 'out'))
with open(os.path.join('native', 'out', 'binaries_xz.h'), 'w') as out:
with open(release, 'rb') as src:
xz_dump(src, out, 'manager_xz')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment