mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-04 09:59:41 +02:00
added rutracker as option. check full message
IMPORTANT: doesnt have error handling fo no result will add a gui option in the future
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from core.ui.gui import MainWindow
|
||||
from core.ui.gui import state_debug
|
||||
from core.ui.gui import choose_tracker
|
||||
from PySide6 import QtWidgets
|
||||
import qdarktheme
|
||||
import darkdetect
|
||||
@@ -9,6 +10,7 @@ debug = True
|
||||
|
||||
def run_gui():
|
||||
state_debug(debug)
|
||||
choose_tracker()
|
||||
app = QtWidgets.QApplication([])
|
||||
if darkdetect.isDark:
|
||||
app.setStyleSheet(qdarktheme.load_stylesheet("dark"))
|
||||
@@ -18,6 +20,5 @@ def run_gui():
|
||||
widget.show()
|
||||
sys.exit(app.exec())
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
run_gui()
|
||||
|
||||
Reference in New Issue
Block a user