Have freeze support for macOS as well

This commit is contained in:
grossmj 2023-11-07 11:17:48 +10:00
parent c437482e85
commit db315e3c3c

View File

@ -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()