diff --git a/Makefile b/Makefile index fa3ba98..39897e1 100644 --- a/Makefile +++ b/Makefile @@ -6,8 +6,10 @@ all: $(CC) --show-progress --assume-yes-for-downloads NUSGet.py $(ARCH_FLAGS) -o NUSGet install: + rm -rd /opt/NUSGet/ install -d /opt/NUSGet - install NUSGet /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 diff --git a/NUSGet.py b/NUSGet.py index e15ba9d..33dcc45 100644 --- a/NUSGet.py +++ b/NUSGet.py @@ -341,8 +341,6 @@ class MainWindow(QMainWindow, Ui_MainWindow): def check_batch_result(self, result: BatchResults): if result.code != 0: - print(result.warning_titles) - print(result.failed_titles) msg_box = QMessageBox() if result.failed_titles: msg_box.setIcon(QMessageBox.Icon.Critical) diff --git a/packaging/NUSGet.desktop b/packaging/NUSGet.desktop index 602c8b5..e27b18c 100644 --- a/packaging/NUSGet.desktop +++ b/packaging/NUSGet.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Name=NUSGet -Exec=/opt/NUSGet/NUSGet %U +Exec=/opt/NUSGet/NUSGet.bin %U Terminal=false Type=Application Icon=/opt/NUSGet/NUSGet.png