forked from IPKM/nmreval
update: new AppImage is executable
This commit is contained in:
parent
e997712f0a
commit
aa33706f5b
@ -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}')
|
||||||
|
Loading…
Reference in New Issue
Block a user