forked from Support/sp-hydra-veil-gui
Builds have to have main_ui imported as a lower level folder. which means dev testing runs as a python3 -m gui
This commit is contained in:
parent
2f0ffe0351
commit
716b62a465
4 changed files with 4 additions and 4 deletions
|
|
@ -101,7 +101,7 @@ if is_compatable:
|
||||||
logger.error(f"[DB MANAGEMENT] Critical Failure with updating/inserting the new DB version into the database.")
|
logger.error(f"[DB MANAGEMENT] Critical Failure with updating/inserting the new DB version into the database.")
|
||||||
|
|
||||||
# Load GUI either way:
|
# Load GUI either way:
|
||||||
from main_ui import start_ui
|
from gui.main_ui import start_ui
|
||||||
|
|
||||||
# If the user lacks a database, we want to force them to sync the new data, to avoid NoneType errors when enabling existing profiles,
|
# If the user lacks a database, we want to force them to sync the new data, to avoid NoneType errors when enabling existing profiles,
|
||||||
if reason == "no_database":
|
if reason == "no_database":
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -73,8 +73,8 @@ class CustomWindow(QMainWindow):
|
||||||
gui_dir = os.path.dirname(os.path.abspath(__file__))
|
gui_dir = os.path.dirname(os.path.abspath(__file__))
|
||||||
font_path = os.path.join(gui_dir, 'resources', 'fonts')
|
font_path = os.path.join(gui_dir, 'resources', 'fonts')
|
||||||
|
|
||||||
# Get's SQLAlchemy going,
|
# # Get's SQLAlchemy going,
|
||||||
orm.start()
|
# orm.start()
|
||||||
|
|
||||||
retro_gaming_path = os.path.join(font_path, 'retro-gaming.ttf')
|
retro_gaming_path = os.path.join(font_path, 'retro-gaming.ttf')
|
||||||
font_id = QFontDatabase.addApplicationFont(retro_gaming_path)
|
font_id = QFontDatabase.addApplicationFont(retro_gaming_path)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
name = "sp-hydra-veil-gui"
|
name = "sp-hydra-veil-gui"
|
||||||
version = "2.4.5"
|
version = "2.4.6"
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Simplified Privacy" },
|
{ name = "Simplified Privacy" },
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue