Don't mess with console visibility on Windows
This commit is contained in:
parent
284b1a4f8a
commit
1b41aa70cc
1 changed files with 1 additions and 7 deletions
|
@ -32,16 +32,10 @@ class ActionsPlugin(object):
|
|||
)
|
||||
self.icon = icon
|
||||
|
||||
if not config.debug: # Hide console if not in debug mode
|
||||
notificationicon.hideConsole()
|
||||
self.console = False
|
||||
else:
|
||||
self.console = True
|
||||
self.console = False
|
||||
|
||||
@atexit.register
|
||||
def hideIcon():
|
||||
if not config.debug:
|
||||
notificationicon.showConsole()
|
||||
icon.die()
|
||||
|
||||
ui_ip = config.ui_ip if config.ui_ip != "*" else "127.0.0.1"
|
||||
|
|
Loading…
Reference in a new issue