From e79820043783bcb0a9fd15bcc005044e534fc3c1 Mon Sep 17 00:00:00 2001 From: William Valentin Date: Thu, 24 Jul 2025 09:09:41 -0700 Subject: [PATCH] Fix file paths in pyinstaller command in Makefile for correct resource inclusion --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e68cab5..1074128 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,8 @@ setup-env: build: docker buildx build --platform linux/amd64,linux/arm64 -t ${IMAGE} --push . install: - pyinstaller --name ${TARGET} --optimize 2 --onefile --windowed --hidden-import='PIL._tkinter_finder' --icon='${ICON}' --add-data=".env:." --add-data='./src/chart-671.png:.' --add-data='./src/thechart_data.csv:.' src/main.py + pyinstaller --name ${TARGET} --optimize 2 --onefile --windowed --hidden-import='PIL._tkinter_finder' --icon='${ICON}' --add-data=".env:." --add-data='./chart-671.png:.' --add-data='./thechart_data.csv:.' src/main.py + cp -f ./thechart_data.csv ${ROOT}/Documents/ cp -f ./dist/${TARGET} ${ROOT}/Applications/ cp -f ./deploy/${TARGET}.desktop ${ROOT}/.local/share/applications/ desktop-file-validate ${ROOT}/.local/share/applications/${TARGET}.desktop