Skip to content

Commit e9cdf3a

Browse files
committed
1.11 crash fix
1 parent 938fde9 commit e9cdf3a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

gui/main_window.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def __init__(self, language):
6161
self.now_reinstalling.setVisible(False)
6262
self.next_button_5.setEnabled(False)
6363

64-
self.iversion = '1.1'
64+
self.iversion = '1.11'
6565

6666
# -------------------------------------------- #
6767

libs/launcher_reinstall.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ def run(self):
3838
uninstall = Popen(['cmd.exe', '/c', 'msiexec', '/uninstall',
3939
msi_path, '/quiet'], shell=True)
4040
output, error = uninstall.communicate()
41-
if uninstall.returncode != 0:
42-
print("Произошла ошибка при удалении:", error.decode())
41+
# if uninstall.returncode != 0:
42+
# print("Произошла ошибка при удалении:", error.decode())
4343

4444
uninstall.wait()
4545
self.progress_signal.emit(33)
@@ -49,8 +49,8 @@ def run(self):
4949
['cmd.exe', '/c', 'msiexec', '/package', msi_path,
5050
'/quiet', 'CREATE_DESKTOP_SHORTCUT=0'], shell=True)
5151
output, error = install.communicate()
52-
if uninstall.returncode != 0:
53-
print("Произошла ошибка при установке:", error.decode())
52+
# if uninstall.returncode != 0:
53+
# print("Произошла ошибка при установке:", error.decode())
5454
install.wait()
5555
self.progress_signal.emit(66)
5656
self.continue_reinstall.emit(self.paradox_folder1)

0 commit comments

Comments
 (0)