From aa33706f5b9f6d5f32f3dd7a430e1d186fad3abd Mon Sep 17 00:00:00 2001 From: Dominik Demuth Date: Mon, 16 Jan 2023 20:16:40 +0100 Subject: [PATCH] update: new AppImage is executable --- src/gui_qt/lib/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui_qt/lib/utils.py b/src/gui_qt/lib/utils.py index c632038..e440bbf 100644 --- a/src/gui_qt/lib/utils.py +++ b/src/gui_qt/lib/utils.py @@ -178,6 +178,7 @@ class UpdateDialog(QtWidgets.QDialog): appimage_path = Path().cwd() / appname # rename to version-agnostic name appimage_path = appimage_path.rename('NMReval.AppImage') + appimage_path.chmod(appimage_path.stat().st_mode | 73) # 73 = 0o111 = a+x _ = QtWidgets.QMessageBox.information(self, 'Complete', f'New AppImage available at
{appimage_path}')