Skip to content

Commit

Permalink
[B] Fixed pyinjector missing .pyd in built .exe
Browse files Browse the repository at this point in the history
-added all files from pyinjector package to .exe
  • Loading branch information
dwojtasik committed Aug 27, 2022
1 parent 2293498 commit 38d9f66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ call conda activate pyhook32
call conda install pip -y
pip install -r requirements.txt
pip install pyinstaller
pyinstaller --onefile --name=PyHook-%VERSION%-win32 .\PyHook\PyHook.py
pyinstaller --collect-all pyinjector --onefile --name=PyHook-%VERSION%-win32 .\PyHook\PyHook.py
call conda deactivate
set CONDA_FORCE_32BIT=

Expand All @@ -21,5 +21,5 @@ call conda activate pyhook64
call conda install pip -y
pip install -r requirements.txt
pip install pyinstaller
pyinstaller --onefile --name=PyHook-%VERSION%-win_amd64 .\PyHook\PyHook.py
pyinstaller --collect-all pyinjector --onefile --name=PyHook-%VERSION%-win_amd64 .\PyHook\PyHook.py
call conda deactivate

0 comments on commit 38d9f66

Please sign in to comment.