Skip to content

Commit

Permalink
Only show console after app close in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcutme committed May 30, 2019
1 parent d548c6b commit 422064e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/Trayicon/TrayiconPlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ def main(self):

@atexit.register
def hideIcon():
notificationicon.showConsole()
if not config.debug:
notificationicon.showConsole()
icon.die()

ui_ip = config.ui_ip if config.ui_ip != "*" else "127.0.0.1"
Expand Down

0 comments on commit 422064e

Please sign in to comment.