Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e5bec6f2f9 | |||
| 2c90699fe3 | |||
| 5aae18dc09 | |||
| 1403646426 | |||
| 462322fcc5 |
@@ -1,5 +1,5 @@
|
|||||||
[bumpversion]
|
[bumpversion]
|
||||||
current_version = 0.1.2
|
current_version = 0.2.0
|
||||||
tag = True
|
tag = True
|
||||||
commit = True
|
commit = True
|
||||||
|
|
||||||
|
|||||||
2
.vscode/tasks.json
vendored
2
.vscode/tasks.json
vendored
@@ -31,7 +31,7 @@
|
|||||||
"panel": "new",
|
"panel": "new",
|
||||||
"focus": false
|
"focus": false
|
||||||
},
|
},
|
||||||
"dependsOn": "Compress dist Folder Debug",
|
// "dependsOn": "Compress dist Folder Debug",
|
||||||
"problemMatcher": "$pyinstaller"
|
"problemMatcher": "$pyinstaller"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
1
main.py
1
main.py
@@ -2,4 +2,3 @@ from src.ui.main_ui import launch
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
launch()
|
launch()
|
||||||
# launch()
|
|
||||||
|
|||||||
11
main_dev.py
11
main_dev.py
@@ -1,8 +1,15 @@
|
|||||||
# from src.ui.main_ui import launch
|
# from src.ui.main_ui import launch
|
||||||
|
|
||||||
from updater import Update
|
from src.updater import Update
|
||||||
|
import os
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
Update()
|
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")
|
# launch("--debug")
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import sys
|
import sys
|
||||||
from config import Config
|
from config import Config
|
||||||
__version__ = "0.1.2"
|
__version__ = "0.2.0"
|
||||||
__author__ = "Alexander Kirchner"
|
__author__ = "Alexander Kirchner"
|
||||||
__email__ = "alexander.kirchner@ph-freiburg.de"
|
__email__ = "alexander.kirchner@ph-freiburg.de"
|
||||||
__license__ = "MIT"
|
__license__ = "MIT"
|
||||||
|
|||||||
@@ -563,7 +563,6 @@ def launch(*argv):
|
|||||||
#print(options)
|
#print(options)
|
||||||
QtCore.QLocale().setDefault(QtCore.QLocale(QtCore.QLocale.Language.German, QtCore.QLocale.Country.Germany))
|
QtCore.QLocale().setDefault(QtCore.QLocale(QtCore.QLocale.Language.German, QtCore.QLocale.Country.Germany))
|
||||||
SYSTEM_LANGUAGE = QtCore.QLocale().system().name()
|
SYSTEM_LANGUAGE = QtCore.QLocale().system().name()
|
||||||
print(SYSTEM_LANGUAGE)
|
|
||||||
|
|
||||||
# Load base QT translations from the normal place
|
# Load base QT translations from the normal place
|
||||||
app = QtWidgets.QApplication([])
|
app = QtWidgets.QApplication([])
|
||||||
|
|||||||
Reference in New Issue
Block a user