mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-18 14:28:08 +00:00
Have freeze support for macOS as well
This commit is contained in:
parent
596d1274a3
commit
19792f328d
@ -78,11 +78,13 @@ def main():
|
|||||||
Entry point for GNS3 server
|
Entry point for GNS3 server
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
if hasattr(sys, "frozen"):
|
||||||
|
freeze_support()
|
||||||
|
|
||||||
if not sys.platform.startswith("win"):
|
if not sys.platform.startswith("win"):
|
||||||
if "--daemon" in sys.argv:
|
if "--daemon" in sys.argv:
|
||||||
daemonize()
|
daemonize()
|
||||||
else:
|
|
||||||
freeze_support()
|
|
||||||
from gns3server.run import run
|
from gns3server.run import run
|
||||||
run()
|
run()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user