Compare commits
2 Commits
f1459d88e1
...
08be2e7ce1
| Author | SHA1 | Date | |
|---|---|---|---|
| 08be2e7ce1 | |||
| 4869f26e23 |
15
build.bat
15
build.bat
@@ -1,20 +1,7 @@
|
||||
@echo off
|
||||
echo Building HEIF to JPG converter...
|
||||
|
||||
:: Set actual paths based on your system
|
||||
SET PYTHON_DLL_PATH=C:\Users\vanko\anaconda3\DLLs
|
||||
SET VENV_PATH=C:\Users\vanko\MyCode\Heif2Jpg\heif2jpg
|
||||
SET SITE_PACKAGES=%VENV_PATH%\Lib\site-packages
|
||||
|
||||
pyinstaller --noconsole --onefile ^
|
||||
--icon="Heif2Jpg.ico" ^
|
||||
--hidden-import=PIL._tkinter_finder ^
|
||||
--hidden-import=xml.parsers.expat ^
|
||||
--add-binary="%PYTHON_DLL_PATH%\pyexpat.pyd;." ^
|
||||
--add-binary="%PYTHON_DLL_PATH%\_tkinter.pyd;." ^
|
||||
--collect-all pillow_heif ^
|
||||
--collect-all PIL ^
|
||||
heif2jpgGuiBar.py
|
||||
pyinstaller --noconsole --onefile --icon=myicon.ico Heif2JpgConverter.py
|
||||
|
||||
echo Done!
|
||||
pause
|
||||
Reference in New Issue
Block a user