mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-18 03:45:33 -04:00
Fix for customapp embeded zim #6
This commit is contained in:
parent
2f3d69f608
commit
1e280d99ca
@ -460,7 +460,7 @@ def step_embed_zimfile(jsdata, **options):
|
|||||||
os.symlink('../{}/{}'.format(archs[0], jsdata.get('zim_name')),
|
os.symlink('../{}/{}'.format(archs[0], jsdata.get('zim_name')),
|
||||||
jsdata.get('zim_name'))
|
jsdata.get('zim_name'))
|
||||||
os.chdir(tmpd)
|
os.chdir(tmpd)
|
||||||
syscall('zip -r -0 -y {} lib'
|
syscall('zip -r -0 {} lib'
|
||||||
.format(os.path.join(ANDROID_PATH, 'content-libs.jar')))
|
.format(os.path.join(ANDROID_PATH, 'content-libs.jar')))
|
||||||
shutil.rmtree(tmpd)
|
shutil.rmtree(tmpd)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user