unix fix
This commit is contained in:
parent
b50cdd3165
commit
30be4b3c37
2 changed files with 7 additions and 2 deletions
|
@ -20,7 +20,12 @@ def run_installer(download_folder_tmp, col_isDark):
|
|||
|
||||
app.resizable(False, False)
|
||||
|
||||
set_default_color_theme(os.path.join(download_folder_tmp,"./theme.json"))
|
||||
try:
|
||||
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():
|
||||
spitfire_source_info = {
|
||||
|
|
|
@ -8,7 +8,7 @@ def main():
|
|||
return
|
||||
|
||||
from gui_main import run_installer
|
||||
run_installer("./tmp",(10, 10, 10),(0, 120, 215),true)
|
||||
run_installer("./tmp",True)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
Reference in a new issue