mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
Add an option --asume-packages-installed
to not try to install packages.
This is different than `--dont-install-packages` that will try to compile the dependencies. `--asumme-packages-installed` will no try to install packages, but will not try either to compile dependencies.
This commit is contained in:
@ -75,6 +75,8 @@ def run_kiwix_build(target, platform,
|
||||
command = ['kiwix-build']
|
||||
command.append(target)
|
||||
command.append('--hide-progress')
|
||||
if platform == 'flatpak':
|
||||
command.append('--assume-packages-installed')
|
||||
if target == 'kiwix-android' and platform.startswith('android_'):
|
||||
command.extend(['--target-platform', 'android', '--android-arch', platform[8:]])
|
||||
elif platform == 'android':
|
||||
|
Reference in New Issue
Block a user