7 Commits

Author SHA1 Message Date
e5bec6f2f9 Bump version: 0.1.2 → 0.2.0 2025-01-09 13:06:56 +01:00
2c90699fe3 remove unneeded print 2025-01-09 13:06:14 +01:00
5aae18dc09 remove comment 2025-01-09 12:52:50 +01:00
1403646426 small changes 2025-01-09 12:52:34 +01:00
462322fcc5 remove dependency 2025-01-09 12:45:24 +01:00
0475811315 Bump version: 0.1.1 → 0.1.2 2024-11-08 08:47:09 +01:00
d71151ff2b changes as test 2024-11-08 08:47:03 +01:00
6 changed files with 15 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.1.1
current_version = 0.2.0
tag = True
commit = True

2
.vscode/tasks.json vendored
View File

@@ -31,7 +31,7 @@
"panel": "new",
"focus": false
},
"dependsOn": "Compress dist Folder Debug",
// "dependsOn": "Compress dist Folder Debug",
"problemMatcher": "$pyinstaller"
},
{

View File

@@ -2,4 +2,3 @@ from src.ui.main_ui import launch
if __name__ == "__main__":
launch()

View File

@@ -1,5 +1,15 @@
from src.ui.main_ui import launch
# from src.ui.main_ui import launch
from src.updater import Update
import os
if __name__ == "__main__":
launch("--debug")
Update()
with open("config/.updater", "r") as f:
contents = f.read().splitlines()
command = [line for line in contents if "command" in line][0].split(":")[1]
if "~" in command:
command = command.replace("~", str(os.getcwd()))
os.system(command)
# launch("--debug")

View File

@@ -1,6 +1,6 @@
import sys
from config import Config
__version__ = "0.1.1"
__version__ = "0.2.0"
__author__ = "Alexander Kirchner"
__email__ = "alexander.kirchner@ph-freiburg.de"
__license__ = "MIT"

View File

@@ -563,7 +563,6 @@ def launch(*argv):
#print(options)
QtCore.QLocale().setDefault(QtCore.QLocale(QtCore.QLocale.Language.German, QtCore.QLocale.Country.Germany))
SYSTEM_LANGUAGE = QtCore.QLocale().system().name()
print(SYSTEM_LANGUAGE)
# Load base QT translations from the normal place
app = QtWidgets.QApplication([])