Skip to content

Commit f810184

Browse files
authored
Update main.py
1 parent 7e9cc40 commit f810184

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/main.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
QFileDialog, QCheckBox, QHBoxLayout, QSpacerItem, QSizePolicy
88
)
99
from PyQt5.QtGui import QFont
10-
from update import check_for_update, result_update, update_application, CURRENT_VERSION, LATEST_VERSION
10+
from update import check_update_applicationfor_update, result_update, update_application, CURRENT_VERSION, LATEST_VERSION
1111
from debug import debug_print
1212

1313
CONFIG_FILE = 'config.json'
@@ -80,7 +80,7 @@ def init_main_screen(self):
8080

8181
self.version_credit_layout = QHBoxLayout()
8282

83-
self.credit_label = QLabel("AdminFreeExec v0.1.0 by Rompelhd", self)
83+
self.credit_label = QLabel("AdminFreeExec v" + CURRENT_VERSION + " by Rompelhd", self)
8484
self.credit_label.setFont(QFont("Arial", 10))
8585
self.credit_label.setAlignment(Qt.AlignRight)
8686

@@ -121,7 +121,7 @@ def show_settings_screen(self):
121121

122122
self.version_credit_layout = QHBoxLayout()
123123

124-
self.credit_label = QLabel("AdminFreeExec v0.2.1 by Rompelhd", self)
124+
self.credit_label = QLabel("AdminFreeExec v" + CURRENT_VERSION + " by Rompelhd", self)
125125
self.credit_label.setFont(QFont("Arial", 10))
126126
self.credit_label.setAlignment(Qt.AlignRight)
127127

@@ -171,7 +171,7 @@ def show_update_screen(self):
171171

172172
self.version_credit_layout = QHBoxLayout()
173173

174-
self.credit_label = QLabel(f"AdminFreeExec v{CURRENT_VERSION} by Rompelhd", self)
174+
self.credit_label = QLabel("AdminFreeExec v" + CURRENT_VERSION + " by Rompelhd", self)
175175
self.credit_label.setFont(QFont("Arial", 10))
176176
self.credit_label.setAlignment(Qt.AlignRight)
177177

@@ -235,7 +235,7 @@ def apply_theme(self):
235235
self.setStyleSheet("background-color: white; color: black;")
236236

237237
if __name__ == '__main__':
238-
check_for_update()
238+
check_update_applicationfor_update()
239239

240240
app = QApplication(sys.argv)
241241
window = DragDropWindow()

0 commit comments

Comments
 (0)