Compare commits

..

No commits in common. "76911db12d4a77d76206e2f56c410dee3880133c" and "a361a45314327b1a7856a13a4818a8fb94395b81" have entirely different histories.

3 changed files with 4 additions and 4 deletions

View File

@ -6,10 +6,8 @@ all:
$(CC) --show-progress --assume-yes-for-downloads NUSGet.py $(ARCH_FLAGS) -o NUSGet $(CC) --show-progress --assume-yes-for-downloads NUSGet.py $(ARCH_FLAGS) -o NUSGet
install: install:
rm -rd /opt/NUSGet/
install -d /opt/NUSGet install -d /opt/NUSGet
cp -r ./NUSGet.dist/* /opt/NUSGet/ install NUSGet /opt/NUSGet/
chmod 755 /opt/NUSGet/
install ./packaging/icon.png /opt/NUSGet/NUSGet.png install ./packaging/icon.png /opt/NUSGet/NUSGet.png
install ./packaging/NUSGet.desktop /usr/share/applications install ./packaging/NUSGet.desktop /usr/share/applications

View File

@ -341,6 +341,8 @@ class MainWindow(QMainWindow, Ui_MainWindow):
def check_batch_result(self, result: BatchResults): def check_batch_result(self, result: BatchResults):
if result.code != 0: if result.code != 0:
print(result.warning_titles)
print(result.failed_titles)
msg_box = QMessageBox() msg_box = QMessageBox()
if result.failed_titles: if result.failed_titles:
msg_box.setIcon(QMessageBox.Icon.Critical) msg_box.setIcon(QMessageBox.Icon.Critical)

View File

@ -1,6 +1,6 @@
[Desktop Entry] [Desktop Entry]
Name=NUSGet Name=NUSGet
Exec=/opt/NUSGet/NUSGet.bin %U Exec=/opt/NUSGet/NUSGet %U
Terminal=false Terminal=false
Type=Application Type=Application
Icon=/opt/NUSGet/NUSGet.png Icon=/opt/NUSGet/NUSGet.png