Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e5bec6f2f9 | |||
| 2c90699fe3 | |||
| 5aae18dc09 | |||
| 1403646426 | |||
| 462322fcc5 |
@@ -1,5 +1,5 @@
|
||||
[bumpversion]
|
||||
current_version = 0.1.2
|
||||
current_version = 0.2.0
|
||||
tag = True
|
||||
commit = True
|
||||
|
||||
|
||||
2
.vscode/tasks.json
vendored
2
.vscode/tasks.json
vendored
@@ -31,7 +31,7 @@
|
||||
"panel": "new",
|
||||
"focus": false
|
||||
},
|
||||
"dependsOn": "Compress dist Folder Debug",
|
||||
// "dependsOn": "Compress dist Folder Debug",
|
||||
"problemMatcher": "$pyinstaller"
|
||||
},
|
||||
{
|
||||
|
||||
1
main.py
1
main.py
@@ -2,4 +2,3 @@ from src.ui.main_ui import launch
|
||||
|
||||
if __name__ == "__main__":
|
||||
launch()
|
||||
# launch()
|
||||
|
||||
11
main_dev.py
11
main_dev.py
@@ -1,8 +1,15 @@
|
||||
# from src.ui.main_ui import launch
|
||||
|
||||
from updater import Update
|
||||
|
||||
from src.updater import Update
|
||||
import os
|
||||
if __name__ == "__main__":
|
||||
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")
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import sys
|
||||
from config import Config
|
||||
__version__ = "0.1.2"
|
||||
__version__ = "0.2.0"
|
||||
__author__ = "Alexander Kirchner"
|
||||
__email__ = "alexander.kirchner@ph-freiburg.de"
|
||||
__license__ = "MIT"
|
||||
|
||||
@@ -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([])
|
||||
|
||||
Reference in New Issue
Block a user