Updated Build Kit.cmd
* Use OUT_KIT instead of OUT to match Build PE's OUT_PE
This commit is contained in:
parent
750112cfb2
commit
9ac25dbab0
1 changed files with 8 additions and 8 deletions
|
|
@ -12,17 +12,17 @@ rem Verifies the environment before launching item
|
|||
if not exist ".bin\Scripts\build_kit.ps1" (goto ErrorBuildKitMissing)
|
||||
|
||||
:PrepNewKit
|
||||
rem Copy base files to a new folder OUT\%KIT_NAME_FULL%
|
||||
robocopy /e . OUT /xd .git .kit_items OUT /xf .gitignore "Build Kit.cmd"
|
||||
robocopy /e .kit_items OUT
|
||||
copy Images\ConEmu.png OUT\.bin\ConEmu\
|
||||
mkdir OUT\.cbin >nul 2>&1
|
||||
attrib +h OUT\.bin >nul 2>&1
|
||||
attrib +h OUT\.cbin >nul 2>&1
|
||||
rem Copy base files to a new folder OUT_KIT\%KIT_NAME_FULL%
|
||||
robocopy /e . OUT_KIT /xd .git .kit_items OUT_KIT /xf .gitignore "Build Kit.cmd"
|
||||
robocopy /e .kit_items OUT_KIT
|
||||
copy Images\ConEmu.png OUT_KIT\.bin\ConEmu\
|
||||
mkdir OUT_KIT\.cbin >nul 2>&1
|
||||
attrib +h OUT_KIT\.bin >nul 2>&1
|
||||
attrib +h OUT_KIT\.cbin >nul 2>&1
|
||||
|
||||
:Launch
|
||||
rem Calls the Launch.cmd script using the variables defined above
|
||||
set "file=OUT\.bin\Scripts\build_kit.ps1"
|
||||
set "file=OUT_KIT\.bin\Scripts\build_kit.ps1"
|
||||
powershell -executionpolicy bypass -noprofile -file %file% || goto ErrorUnknown
|
||||
goto Exit
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue