Only show console after app close in debug mode

This commit is contained in:
shortcutme 2019-05-30 04:24:42 +02:00
parent d548c6bdfa
commit 422064e092
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,8 @@ class ActionsPlugin(object):
@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"