Skip to content

Commit

Permalink
Use specfile
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnlentink committed Jul 17, 2024
1 parent 785921b commit 95fea75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
python-version: '3.10'

- run: pip install -r requirements.txt pyinstaller
- run: pyinstaller -c -F bible_import.py --add-data "Resources/metadata.xml:."
- run: pyinstaller -c -F bible_import.py bible_import.spec

# Make the file executable on macOS
- name: Make file executable
Expand Down
2 changes: 1 addition & 1 deletion bible_import.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ a = Analysis(
['bible_import.py'],
pathex=['.venv\\Lib\\site-packages'],
binaries=[],
datas=[('Resources/available_bibles.json', 'Resources/metadata.xml', '.')],
datas=[('Resources/available_bibles.json', '.' ), ('Resources/metadata.xml', '.')],
hiddenimports=[],
hookspath=[],
hooksconfig={},
Expand Down

0 comments on commit 95fea75

Please sign in to comment.