Compare commits

...

2 Commits

Author SHA1 Message Date
7e67920719 Merge branch 'testing' of https://git.deck.sh/Interfaz/ff into testing 2022-10-25 01:38:09 -05:00
b3d26107f9 git fix 2022-10-25 01:33:35 -05:00
3 changed files with 9 additions and 12 deletions

View File

@ -276,6 +276,7 @@ if __name__ == '__main__':
killme = manager.Value('d', 0) killme = manager.Value('d', 0)
#killme = False #killme = False
# launch background UI app as process # launch background UI app as process
util.clear_fwll()
p = Process(target=taskbartool.background, args=(displaydata,settings,killme)) p = Process(target=taskbartool.background, args=(displaydata,settings,killme))
p.start() p.start()
#p.join() # not a foreground job, so let's not join it #p.join() # not a foreground job, so let's not join it
@ -289,10 +290,3 @@ if __name__ == '__main__':
counter = 0 counter = 0
while(keeprunning): while(keeprunning):
mainloop(pool) mainloop(pool)

View File

@ -242,8 +242,7 @@ class ServerPanel(wx.Panel):
def on_stop(self, event): def on_stop(self, event):
fprint('in on_stop') fprint('in on_stop')
settings["running"] = False settings["running"] = False
# JANK JANK util.clear_fwll()
util.run_cmd('Remove-NetFirewallRule -Group "IPPigeon"')
def on_window(self, event): def on_window(self, event):
fprint("open settings") fprint("open settings")

View File

@ -118,3 +118,7 @@ class Logger(object):
def flush(self): def flush(self):
print("", end="") print("", end="")
def clear_fwll():
if win32:
run_cmd('Remove-NetFirewallRule -Group "IPPigeon"')