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
|
self.icon = icon
|
||||||
|
|
||||||
if not config.debug: # Hide console if not in debug mode
|
self.console = False
|
||||||
notificationicon.hideConsole()
|
|
||||||
self.console = False
|
|
||||||
else:
|
|
||||||
self.console = True
|
|
||||||
|
|
||||||
@atexit.register
|
@atexit.register
|
||||||
def hideIcon():
|
def hideIcon():
|
||||||
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"
|
||||||
|
|
Loading…
Reference in a new issue