From c2bb79941acf0a78a0f0c0b4168eaecd5628f086 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Fri, 22 Feb 2019 10:57:08 +0100 Subject: [PATCH] Update to last version of linuxdeployqt. linuxdeployqt now try to get the version of the appimage and include it in the appimage name. Let's specify the version and use the correct (new) appimage name. --- travis/compile_all.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/travis/compile_all.py b/travis/compile_all.py index 6691ba7..4ff6ff8 100755 --- a/travis/compile_all.py +++ b/travis/compile_all.py @@ -127,12 +127,14 @@ def create_desktop_image(): build_path = BASE_DIR/'org.kiwix.desktop.flatpak' app_name = 'org.kiwix.desktop.{}.flatpak'.format(postfix) else: - build_path = HOME/'Kiwix-x86_64.AppImage' + build_path = HOME/'Kiwix-{}-x86_64.AppImage'.format(postfix) app_name = "kiwix-desktop_x86_64_{}.appimage".format(postfix) command = ['kiwix-build/scripts/create_kiwix-desktop_appImage.sh', str(INSTALL_DIR), str(src_dir), str(HOME/'AppDir')] + env = dict(os.environ) + env['VERSION'] = postfix print_message("Build AppImage of kiwix-desktop") - subprocess.check_call(command, cwd=str(HOME)) + subprocess.check_call(command, cwd=str(HOME), env=env) try: archive_dir.mkdir(parents=True)