fix build_info.json

This commit is contained in:
2025-10-19 17:51:21 +02:00
parent 05a5b04507
commit 2eb384f7cf
2 changed files with 5 additions and 5 deletions
+3 -1
View File
@@ -68,7 +68,9 @@ jobs:
- name: Inject commit hash into code
run: |
echo "version = '${GITHUB_SHA}'" > build_info.json
echo '{' > build_info.json
echo " \"version\": \"${GITHUB_SHA}\"" >> build_info.json
echo '}' >> build_info.json
- name: Build executable with PyInstaller
run: pyinstaller --onefile --windowed --add-data "build_info.json:." --name ${{ env.APP_NAME }} main.py