Skip to content

Commit

Permalink
We can have debug back (so we can zoom text, inspect, etc)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwhelchel committed May 16, 2024
1 parent 9e438b3 commit fb358e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@ def on_restore():
if platform.system() == 'Windows':
window.events.closing += on_closing
window.events.maximized += on_maximized
window.events.restored += on_restore
window.events.restored += on_restore

if platform.system() == "Linux":
webview.start(update_ticker, private_mode=False, debug=False, gui="gtk") # noqa E501
webview.start(update_ticker, private_mode=False, debug=True, gui="gtk") # noqa E501
elif platform.system() == "Windows":
webview.start(update_ticker, private_mode=False, debug=False)
webview.start(update_ticker, private_mode=False, debug=True)
elif platform.system() == "Darwin":
webview.start(update_ticker, private_mode=False, debug=False)
webview.start(update_ticker, private_mode=False, debug=True)

0 comments on commit fb358e7

Please sign in to comment.