From 1507da0d5b8778b91253feb42cdaf0573607b98e Mon Sep 17 00:00:00 2001 From: NinjaCheetah <58050615+NinjaCheetah@users.noreply.github.com> Date: Wed, 26 Jun 2024 20:28:47 -0400 Subject: [PATCH] Fix deprecated Nutika arguments --- .github/workflows/python-build.yml | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-build.yml b/.github/workflows/python-build.yml index 499c60f..546708b 100644 --- a/.github/workflows/python-build.yml +++ b/.github/workflows/python-build.yml @@ -59,7 +59,7 @@ jobs: pip install -r requirements.txt - name: Build Package run: | - nuitka3 --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --standalone --plugin-enable=pyside6 NUSGet.py --macos-create-app-bundle --macos-app-icon=resources/icon.png --disable-console + nuitka3 --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --standalone --plugin-enable=pyside6 NUSGet.py --macos-create-app-bundle --macos-app-icon=resources/icon.png - name: Prepare Package for Upload run: | mv NUSGet.app ~/NUSGet.app @@ -89,7 +89,7 @@ jobs: pip install -r requirements.txt - name: Build Package run: | - nuitka --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --windows-icon-from-ico=resources/icon.png --plugin-enable=pyside6 NUSGet.py --disable-console + nuitka --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --windows-icon-from-ico=resources/icon.png --plugin-enable=pyside6 NUSGet.py --windows-console-mode=disable - name: Upload Package uses: actions/upload-artifact@v4.3.0 with: diff --git a/README.md b/README.md index 7ab825e..83ababc 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Then, use the command for your platform to build an executable with Nuitka: **Windows** ``` -nuitka --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --windows-icon-from-ico=resources/icon.png --plugin-enable=pyside6 NUSGet.py --disable-console +nuitka --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --windows-icon-from-ico=resources/icon.png --plugin-enable=pyside6 NUSGet.py --windows-console-mode=disable ``` **Linux** @@ -49,7 +49,7 @@ nuitka3 --show-progress --include-data-dir=data=data --include-data-dir=resourc **macOS** ``` -nuitka3 --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --plugin-enable=pyside6 NUSGet.py --macos-create-app-bundle --macos-app-icon=resources/icon.png --disable-console +nuitka3 --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --plugin-enable=pyside6 NUSGet.py --macos-create-app-bundle --macos-app-icon=resources/icon.png ``` The result will be a single binary named `NUSGet` that contains everything required to run NUSGet. No dependencies are needed on the target system.