Skip to content

Commit

Permalink
Create build.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
nimaid committed Jan 14, 2020
1 parent 95763bf commit 1d691f3
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions utils/build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
@echo off

set ORIGDIR="%CD%"
set SCRIPTDIR=%~dp0
set LPHKDIR=%SCRIPTDIR%\..
set ICONDIR=%LPHKDIR%\resources
set ICON=%ICONDIR%\LPHK.ico

echo Building LIST_PADS...
call conda run -n LPHK-build pyinstaller ^
--noconfirm ^
--onefile ^
--icon=%ICON% ^
LIST_PADS.py
echo Built LIST_PADS!

echo Building RAW_CONNECT...
call conda run -n LPHK-build pyinstaller ^
--noconfirm ^
--onefile ^
--icon=%ICON% ^
RAW_CONNECT.py
echo Built RAW_CONNECT!

echo Building GET_KEYCODES...
call conda run -n LPHK-build pyinstaller ^
--noconfirm ^
--onefile ^
--icon=%ICON% ^
GET_KEYCODES.py
echo Built GET_KEYCODES!

pause

0 comments on commit 1d691f3

Please sign in to comment.