Removed compiled translations and added step to build them

This commit is contained in:
Campbell 2024-07-04 06:32:24 +10:00
parent ca81c2e6d3
commit 62467bb616
Signed by: NinjaCheetah
GPG Key ID: 670C282B3291D63D
8 changed files with 16 additions and 0 deletions

View File

@ -31,6 +31,7 @@ jobs:
pip install -r requirements.txt
- 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
- name: Prepare Package for Upload
run: |
@ -59,6 +60,7 @@ jobs:
pip install -r requirements.txt
- 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
- name: Prepare Package for Upload
run: |
@ -89,6 +91,7 @@ jobs:
pip install -r requirements.txt
- 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
- name: Upload Package
uses: actions/upload-artifact@v4.3.0

4
.gitignore vendored
View File

@ -27,6 +27,7 @@ main.dist/
NUSGet.build/
NUSGet.dist/
NUSGet.onefile-build/
NUSGet.bin
.installed.cfg
*.egg
MANIFEST
@ -174,3 +175,6 @@ remakewad.pl
# Also awful macOS files
*._*
*.DS_Store
# Compiled Qt files
*.qm

9
Makefile Normal file
View File

@ -0,0 +1,9 @@
linux:
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
clean:
rm NUSGet.bin
rm -rd NUSGet.build/
rm -rd NUSGet.dist/
rm -rd NUSGet.onefile-build/

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.