mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Have freeze support for macOS as well
This commit is contained in:
1 file changed
+4
-2
+4
-2
@@ -78,11 +78,13 @@ def main():
|
||||
Entry point for GNS3 server
|
||||
"""
|
||||
|
||||
if hasattr(sys, "frozen"):
|
||||
freeze_support()
|
||||
|
||||
if not sys.platform.startswith("win"):
|
||||
if "--daemon" in sys.argv:
|
||||
daemonize()
|
||||
else:
|
||||
freeze_support()
|
||||
|
||||
from gns3server.run import run
|
||||
run()
|
||||
|
||||
|
||||
Reference in new issue
Block a user