Skip to content

Commit

Permalink
update globals.py
Browse files Browse the repository at this point in the history
  • Loading branch information
masonasons committed Jul 15, 2021
1 parent 3f3ca72 commit f6da522
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion globals.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ def load():
prefs.reversed=prefs.get("reversed",False)
prefs.window_shown=prefs.get("window_shown",True)
prefs.autoOpenSingleURL=prefs.get("autoOpenSingleURL", False)
prefs.media_player=prefs.get("media_player","QPlay.exe")
if platform.system()!="Darwin":
prefs.media_player=prefs.get("media_player","QPlay.exe")
else:
prefs.media_player=prefs.get("media_player","/applications/QPlay.app")
prefs.earcon_audio=prefs.get("earcon_audio",True)
prefs.earcon_top=prefs.get("earcon_top",False)
prefs.wrap=prefs.get("wrap",False)
Expand Down

0 comments on commit f6da522

Please sign in to comment.