This commit is contained in:
admin 2024-02-07 22:29:39 +01:00
parent b50cdd3165
commit 30be4b3c37
2 changed files with 7 additions and 2 deletions

View file

@ -20,7 +20,12 @@ def run_installer(download_folder_tmp, col_isDark):
app.resizable(False, False) app.resizable(False, False)
try:
set_default_color_theme(os.path.join(download_folder_tmp,"./theme.json")) set_default_color_theme(os.path.join(download_folder_tmp,"./theme.json"))
except FileNotFoundError:
set_default_color_theme("dark-blue")
set_appearance_mode("dark")
print("Could not get theme from system.")
def print_ahoj(): def print_ahoj():
spitfire_source_info = { spitfire_source_info = {

View file

@ -8,7 +8,7 @@ def main():
return return
from gui_main import run_installer from gui_main import run_installer
run_installer("./tmp",(10, 10, 10),(0, 120, 215),true) run_installer("./tmp",True)
if __name__ == "__main__": if __name__ == "__main__":
main() main()