mirror of
https://github.com/NinjaCheetah/NUSGet.git
synced 2025-04-25 15:11:02 -04:00
Small GitHub Actions fix for the Nutika binary no longer being named 'nuitka3'
This commit is contained in:
parent
7f788ae36c
commit
bf09f3b18e
6
.github/workflows/python-build.yml
vendored
6
.github/workflows/python-build.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
||||
- name: Build Package
|
||||
run: |
|
||||
pyside6-project build
|
||||
nuitka3 --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --plugin-enable=pyside6 NUSGet.py
|
||||
python -m nuitka --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --plugin-enable=pyside6 NUSGet.py
|
||||
- name: Prepare Package for Upload
|
||||
run: |
|
||||
mv NUSGet.bin ~/NUSGet
|
||||
@ -61,7 +61,7 @@ jobs:
|
||||
- name: Build Package
|
||||
run: |
|
||||
pyside6-project build
|
||||
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
|
||||
python -m nuitka --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
|
||||
@ -92,7 +92,7 @@ jobs:
|
||||
- name: Build Package
|
||||
run: |
|
||||
pyside6-project build
|
||||
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
|
||||
python -m 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:
|
||||
|
@ -39,17 +39,17 @@ 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 --windows-console-mode=disable
|
||||
python -m 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**
|
||||
```
|
||||
nuitka3 --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --plugin-enable=pyside6 NUSGet.py
|
||||
python -m nuitka --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --plugin-enable=pyside6 NUSGet.py
|
||||
```
|
||||
|
||||
**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
|
||||
python -m nuitka --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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user