forked from NinjaCheetah/NUSGet
Install standalone instead of onefile when using make install
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.
This commit is contained in:
parent
9dcaa22e89
commit
588b44381c
4
Makefile
4
Makefile
@ -6,8 +6,10 @@ 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
|
||||||
install NUSGet /opt/NUSGet/
|
cp -r ./NUSGet.dist/* /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
|
||||||
|
|
||||||
|
@ -341,8 +341,6 @@ 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)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=NUSGet
|
Name=NUSGet
|
||||||
Exec=/opt/NUSGet/NUSGet %U
|
Exec=/opt/NUSGet/NUSGet.bin %U
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
Icon=/opt/NUSGet/NUSGet.png
|
Icon=/opt/NUSGet/NUSGet.png
|
||||||
|
Loading…
x
Reference in New Issue
Block a user