Merge branch 'fix/updater' into 'main'
fix: Fixed app not closing after update See merge request CodeByMrFinchum/OptimaLab35!18
This commit is contained in:
commit
911668e880
2 changed files with 6 additions and 2 deletions
|
@ -1,6 +1,9 @@
|
|||
# Changelog
|
||||
|
||||
## 0.8.x
|
||||
### 0.8.3: Fix – OptimaLab35 Not Closing After Update
|
||||
- Fixed an issue where **OptimaLab35** would not close properly when updating, resulting in an unresponsive instance and multiple running processes.
|
||||
|
||||
### 0.8.2: Patch for New PyPiUpdater Version
|
||||
- Updated to support **PyPiUpdater 0.4.0**.
|
||||
- Now stores version information locally, preventing an "unknown" state on the first updater launch.
|
||||
|
|
|
@ -490,7 +490,7 @@ class UpdaterWindow(QMainWindow, Ui_Updater_Window):
|
|||
|
||||
def define_gui_interaction(self):
|
||||
"""Setup UI interactions."""
|
||||
if self.optimalab35_localversion == "0.0.1":
|
||||
if self.optimalab35_localversion == "0.0.2":
|
||||
self.dev_mode()
|
||||
return
|
||||
else:
|
||||
|
@ -583,7 +583,8 @@ class UpdaterWindow(QMainWindow, Ui_Updater_Window):
|
|||
msg.exec()
|
||||
|
||||
# Restart the application after user clicks "OK"
|
||||
self.ppu_ol35.restart_program()
|
||||
#self.ppu_ol35.restart_program()
|
||||
self.restart_program()
|
||||
|
||||
def restart_program(self):
|
||||
"""Restart the Python program after an update."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue