From 2b46edf4010538750d3dd60a4825f35c98d60a32 Mon Sep 17 00:00:00 2001 From: Leart Dukaj <67204282+Online122228@users.noreply.github.com> Date: Mon, 9 Feb 2026 18:34:51 +0100 Subject: [PATCH] Update makefile to fix installs on Linux, add uninstall option (#42) Co-authored-by: Leart Dukaj --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 39897e1..2360045 100644 --- a/Makefile +++ b/Makefile @@ -6,13 +6,17 @@ all: $(CC) --show-progress --assume-yes-for-downloads NUSGet.py $(ARCH_FLAGS) -o NUSGet install: - rm -rd /opt/NUSGet/ + rm -rf /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 +uninstall: + rm -rf /opt/NUSGet + rm /usr/share/applications/NUSGet.desktop + clean: rm NUSGet rm -rd NUSGet.build/