GrabBag/GrabBagPrj/pkg_authregister.bat
2026-03-28 10:49:55 +08:00

25 lines
520 B
Batchfile

@echo off
setlocal
set PRJ_PATH=c:\project\QT\GrabBag\GrabBagPrj
if not exist "%PRJ_PATH%\buildwin\AuthRegister" mkdir "%PRJ_PATH%\buildwin\AuthRegister"
cd /d "%PRJ_PATH%\buildwin\AuthRegister"
powershell -Command "Remove-Item * -Recurse -Force"
copy "..\..\build\Tools\AuthRegister\release\AuthRegister.exe" .\
"C:\tools\Qt\5.15.2\msvc2019_64\bin\windeployqt.exe" "AuthRegister.exe"
cd ..\..
set ISCC_PATH=C:\Program Files (x86)\Inno Setup 6\ISCC.exe
"%ISCC_PATH%" "AuthRegister.iss"
echo "finish"
endlocal