Skip to content

Commit 3036b44

Browse files
committed
Updating workflow to include all hidden imports
1 parent 993e3ba commit 3036b44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-executable.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121

2222
- name: Install dependencies
2323
run: |
24-
pip install pyinstaller
24+
pip install pyinstaller pillow pytz
2525
2626
- name: Build executable
2727
run: |
28-
pyinstaller --onefile --noconsole --icon=file_renamer_icon.ico --add-data "file_renamer_icon.ico;." --hidden-import=PIL --hidden-import=PIL.Image --hidden-import=PIL._imaging rename_files.py
28+
pyinstaller --onefile --noconsole --icon=file_renamer_icon.ico --add-data "file_renamer_icon.ico;." --hidden-import=PIL --hidden-import=PIL.Image --hidden-import=PIL._imaging --hidden-import=PIL.ExifTags --hidden-import=tkinter --hidden-import=pytz rename_files.py
2929
3030
- name: Upload artifact
3131
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)