diff --git a/dist.py b/dist.py index 2374cb4..6e9222d 100755 --- a/dist.py +++ b/dist.py @@ -77,7 +77,7 @@ def run_command(command: str): if not (args.no_build or args.ui_only): # Pyinstaller command - build_cmd = "pyinstaller --onefile --name nexus nexus/__main__.py --icon ui/images/icon.ico" + build_cmd = "pyinstaller --onefile --name nexus nexus/__main__.py --icon ui/images/icon.ico --paths=.:nexus" if os_name == "win": print("Building windowed executable...")