From 19792f328de80d7266a308103cfecc2fdd2418bd Mon Sep 17 00:00:00 2001 From: grossmj Date: Tue, 7 Nov 2023 11:17:48 +1000 Subject: [PATCH] Have freeze support for macOS as well --- gns3server/main.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gns3server/main.py b/gns3server/main.py index 2c585663..e004f52f 100644 --- a/gns3server/main.py +++ b/gns3server/main.py @@ -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()