1
0
forked from IPKM/nmreval

update: new AppImage is executable

This commit is contained in:
Dominik Demuth 2023-01-16 20:16:40 +01:00
parent e997712f0a
commit aa33706f5b

View File

@ -178,6 +178,7 @@ class UpdateDialog(QtWidgets.QDialog):
appimage_path = Path().cwd() / appname appimage_path = Path().cwd() / appname
# rename to version-agnostic name # rename to version-agnostic name
appimage_path = appimage_path.rename('NMReval.AppImage') 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', _ = QtWidgets.QMessageBox.information(self, 'Complete',
f'New AppImage available at<br>{appimage_path}') f'New AppImage available at<br>{appimage_path}')