1
0
mirror of https://github.com/ciromattia/kcc synced 2026-01-31 09:27:45 +00:00

Fixed Windows autoupdater

This commit is contained in:
Paweł Jastrzębski
2019-03-08 09:04:12 +01:00
parent 35bba68a72
commit a060498ac7

View File

@@ -175,8 +175,7 @@ class VersionThread(QtCore.QThread):
move(path[0], path[0] + '.exe')
MW.hideProgressBar.emit()
MW.modeConvert.emit(1)
Popen(path[0] + '.exe /SP- /silent /noicons', stdout=PIPE, stderr=STDOUT, stdin=PIPE, close_fds=True,
shell=True)
Popen(path[0] + '.exe /SP- /silent /noicons', stdout=PIPE, stderr=STDOUT, stdin=PIPE, shell=True)
MW.forceShutdown.emit()
except Exception:
MW.addMessage.emit('Failed to download the update!', 'warning', False)