Skip to content

Commit

Permalink
Update launch.py with sh to avoid exec on bash files
Browse files Browse the repository at this point in the history
  • Loading branch information
tancheng authored Oct 20, 2024
1 parent e4ff2aa commit 096d93c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ def launchUI(theme_radio_var):
print(f'Get theme radio var: {theme_radio_var.get()}')
if theme_radio_var.get() == 1:
print('Activate light mode.')
os.system("./launchUI.bash light &")
os.system("sh ./launchUI.bash light &")
elif theme_radio_var.get() == 2:
print('Activate classic mode.')
os.system("./launchUI.bash classic &")
os.system("sh ./launchUI.bash classic &")
else:
print('Activate dark mode.')
os.system("./launchUI.bash &")
os.system("sh ./launchUI.bash &")
master.destroy()


Expand Down

0 comments on commit 096d93c

Please sign in to comment.