Merge branch 'fix/updater_disabled' into 'main'

fix: Fixed updater being disabled.

See merge request CodeByMrFinchum/OptimaLab35!26
This commit is contained in:
Mr Finchum 2025-02-04 11:45:51 +00:00
commit 9b8c489cc6
3 changed files with 13 additions and 1 deletions

View file

@ -1,6 +1,9 @@
# Changelog
## 0.10.x
### 0.10.1: Fixed Updater
- Fixed an issue where the updater was permanently disabled.
### 0.10.0: Multithreading for Preview Window
- The preview window now processes images in a separate thread, and live update preview is enabled by default.
- This improves UI responsiveness.
@ -10,6 +13,9 @@
---
## 0.9.x
### 0.9.2: Enhanced updater
- Minor enhancments for the updater
### 0.9.1: Patch for Unsuccessful Successful Update
- Addressed a rare issue where the package did not update correctly using the updater.
- Unable to reproduce, but it may have been related to an older version and the restart process.

View file

@ -479,7 +479,7 @@ class UpdaterWindow(QMainWindow, Ui_Updater_Window):
super(UpdaterWindow, self).__init__()
self.ui = Ui_Updater_Window()
self.ui.setupUi(self)
self.dev_mode = True #True if optimalab35_localversion == "0.0.1" else False
self.dev_mode = True if optimalab35_localversion == "0.0.1" else False
#self.set_dev_ui()
from PyPiUpdater import PyPiUpdater
# Update log file location

View file

@ -175,6 +175,9 @@
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="check_local_Button">
<property name="toolTip">
<string>FOR DEVELOPER</string>
</property>
<property name="text">
<string>Check local</string>
</property>
@ -182,6 +185,9 @@
</item>
<item>
<widget class="QPushButton" name="update_local_Button">
<property name="toolTip">
<string>FOR DEVELOPER</string>
</property>
<property name="text">
<string>Update local</string>
</property>