✨ To speed up startup time the app is packaged in onedir mode.
This commit is contained in:
@@ -60,7 +60,7 @@ help:
|
|||||||
.PHONY: gui-windows
|
.PHONY: gui-windows
|
||||||
gui-windows: ## Build GUI app with PyInstaller
|
gui-windows: ## Build GUI app with PyInstaller
|
||||||
@poetry run pyinstaller --noconfirm \
|
@poetry run pyinstaller --noconfirm \
|
||||||
--windowed --onefile \
|
--windowed --onedir \
|
||||||
--name "$(APP_NAME)" \
|
--name "$(APP_NAME)" \
|
||||||
--noupx \
|
--noupx \
|
||||||
--icon $(path_asset)/icon.ico \
|
--icon $(path_asset)/icon.ico \
|
||||||
@@ -69,7 +69,7 @@ gui-windows: ## Build GUI app with PyInstaller
|
|||||||
.PHONY: gui-linux
|
.PHONY: gui-linux
|
||||||
gui-linux: ## Build GUI app with PyInstaller
|
gui-linux: ## Build GUI app with PyInstaller
|
||||||
@poetry run pyinstaller --noconfirm \
|
@poetry run pyinstaller --noconfirm \
|
||||||
--windowed --onefile \
|
--windowed --onedir \
|
||||||
--name "$(APP_NAME)" \
|
--name "$(APP_NAME)" \
|
||||||
--noupx \
|
--noupx \
|
||||||
--icon $(path_asset)/icon.png \
|
--icon $(path_asset)/icon.png \
|
||||||
@@ -78,10 +78,11 @@ gui-linux: ## Build GUI app with PyInstaller
|
|||||||
.PHONY: gui-macos
|
.PHONY: gui-macos
|
||||||
gui-macos: ## Build GUI app with PyInstaller
|
gui-macos: ## Build GUI app with PyInstaller
|
||||||
@poetry run pyinstaller --noconfirm \
|
@poetry run pyinstaller --noconfirm \
|
||||||
--windowed --onefile \
|
--windowed --onedir \
|
||||||
--name "$(APP_NAME)" \
|
--name "$(APP_NAME)" \
|
||||||
--noupx \
|
--noupx \
|
||||||
--icon $(path_asset)/icon.icns \
|
--icon $(path_asset)/icon.icns \
|
||||||
|
--add-binary="pyproject.toml:." \
|
||||||
tidal_dl_ng/gui.py
|
tidal_dl_ng/gui.py
|
||||||
|
|
||||||
# TODO: macos Signing: https://gist.github.com/txoof/0636835d3cc65245c6288b2374799c43
|
# TODO: macos Signing: https://gist.github.com/txoof/0636835d3cc65245c6288b2374799c43
|
||||||
|
|||||||
Reference in New Issue
Block a user