summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2024-03-26 07:08:19 +0100
committerRobert Honz <exislow+github@gmail.com>2024-03-26 07:08:19 +0100
commit2340850c8d4eeb05953308b79ffffdf7da59a8fa (patch)
treea6d3cdbbb5b56e1a94361c7c871fea3ac14bb700 /Makefile
parent3777b0ad1f1dbe103dfac3071f892cec0b4580ed (diff)
downloadtidal-dl-ng-2340850c8d4eeb05953308b79ffffdf7da59a8fa.tar.gz
✨ To speed up startup time the app is packaged in `onedir` mode.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3559398..ab358c3 100644
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@ help:
.PHONY: gui-windows
gui-windows: ## Build GUI app with PyInstaller
@poetry run pyinstaller --noconfirm \
- --windowed --onefile \
+ --windowed --onedir \
--name "$(APP_NAME)" \
--noupx \
--icon $(path_asset)/icon.ico \
@@ -69,7 +69,7 @@ gui-windows: ## Build GUI app with PyInstaller
.PHONY: gui-linux
gui-linux: ## Build GUI app with PyInstaller
@poetry run pyinstaller --noconfirm \
- --windowed --onefile \
+ --windowed --onedir \
--name "$(APP_NAME)" \
--noupx \
--icon $(path_asset)/icon.png \
@@ -78,10 +78,11 @@ gui-linux: ## Build GUI app with PyInstaller
.PHONY: gui-macos
gui-macos: ## Build GUI app with PyInstaller
@poetry run pyinstaller --noconfirm \
- --windowed --onefile \
+ --windowed --onedir \
--name "$(APP_NAME)" \
--noupx \
--icon $(path_asset)/icon.icns \
+ --add-binary="pyproject.toml:." \
tidal_dl_ng/gui.py
# TODO: macos Signing: https://gist.github.com/txoof/0636835d3cc65245c6288b2374799c43