Added Linux packaging files and added linux-install to Makefile

This commit is contained in:
2024-07-21 20:11:14 -04:00
parent bf09f3b18e
commit 439aebbdb8
5 changed files with 38 additions and 8 deletions

View File

@@ -1,6 +1,14 @@
CC=python -m nuitka
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
$(CC) --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --plugin-enable=pyside6 NUSGet.py -o NUSGet
linux-install:
install -d /opt/NUSGet
install NUSGet /opt/NUSGet/
install ./packaging/icon.png /opt/NUSGet/NUSGet.png
install ./packaging/NUSGet.desktop /usr/share/applications
clean:
rm NUSGet.bin