mirror of
https://github.com/NinjaCheetah/NUSGet.git
synced 2025-04-25 07:01:01 -04:00
This makes the app load faster, because the current install setup makes using the compressed onefile over the standalone build pointless and wastes time on launch.
21 lines
473 B
Makefile
21 lines
473 B
Makefile
CC=python -m nuitka
|
|
ARCH_FLAGS?=
|
|
|
|
all:
|
|
python build_translations.py
|
|
$(CC) --show-progress --assume-yes-for-downloads NUSGet.py $(ARCH_FLAGS) -o NUSGet
|
|
|
|
install:
|
|
rm -rd /opt/NUSGet/
|
|
install -d /opt/NUSGet
|
|
cp -r ./NUSGet.dist/* /opt/NUSGet/
|
|
chmod 755 /opt/NUSGet/
|
|
install ./packaging/icon.png /opt/NUSGet/NUSGet.png
|
|
install ./packaging/NUSGet.desktop /usr/share/applications
|
|
|
|
clean:
|
|
rm NUSGet
|
|
rm -rd NUSGet.build/
|
|
rm -rd NUSGet.dist/
|
|
rm -rd NUSGet.onefile-build/
|