GrabBag/GrabBagPrj/pkg_authregister.bat

28 lines
608 B
Batchfile
Raw Normal View History

2026-03-28 10:49:55 +08:00
@echo off
setlocal
REM Windows packaging tool directories (system environment variables):
REM QT_PATH=D:\Qt\5.15.2
REM ISCC_PATH=C:\Program Files\Inno Setup 7
2026-06-26 17:49:32 +08:00
set PRJ_PATH=%~dp0
set PRJ_PATH=%PRJ_PATH:~0,-1%
2026-03-28 10:49:55 +08:00
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" .\
"%QT_PATH%\msvc2019_64\bin\windeployqt.exe" "AuthRegister.exe"
2026-03-28 10:49:55 +08:00
cd ..\..
"%ISCC_PATH%\ISCC.exe" "AuthRegister.iss"
2026-03-28 10:49:55 +08:00
echo "finish"
endlocal