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

View file

@ -39,7 +39,8 @@ class ActionsPlugin(object):
@atexit.register @atexit.register
def hideIcon(): def hideIcon():
notificationicon.showConsole() if not config.debug:
notificationicon.showConsole()
icon.die() icon.die()
ui_ip = config.ui_ip if config.ui_ip != "*" else "127.0.0.1" ui_ip = config.ui_ip if config.ui_ip != "*" else "127.0.0.1"