修改撕裂应用打包目录

This commit is contained in:
yiyi 2025-08-31 21:24:50 +08:00
parent fc5680fe59
commit 761ab4219e
2 changed files with 6 additions and 4 deletions

View File

@ -6,7 +6,7 @@
#define MyAppPublisher "" #define MyAppPublisher ""
#define MyAppURL "" #define MyAppURL ""
#define MyAppExeName "BeltTearingApp.exe" #define MyAppExeName "BeltTearingApp.exe"
#define MyProgramPath ".\BeltTearingApp" #define MyProgramPath ".\buildwin\BeltTearingApp"
[Setup] [Setup]
; NOTE: The value of AppId uniquely identifies this application. ; NOTE: The value of AppId uniquely identifies this application.

View File

@ -1,15 +1,17 @@
@echo off @echo off
setlocal setlocal
cd /d "c:\project\QT\GrabBag\GrabBagPrj\BeltTearingApp" set PRJ_PATH=c:\project\QT\GrabBag\GrabBagPrj
cd /d "%PRJ_PATH%\buildwin\BeltTearingApp"
powershell -Command "Remove-Item * -Recurse -Force" powershell -Command "Remove-Item * -Recurse -Force"
copy "..\build\BeltTearingApp\release\BeltTearingApp.exe" .\ copy "..\..\build\BeltTearingApp\release\BeltTearingApp.exe" .\
"C:\tools\Qt\5.15.2\msvc2019_64\bin\windeployqt.exe" "BeltTearingApp.exe" "C:\tools\Qt\5.15.2\msvc2019_64\bin\windeployqt.exe" "BeltTearingApp.exe"
cd .. cd ..\..
set ISCC_PATH=C:\Program Files (x86)\Inno Setup 6\ISCC.exe set ISCC_PATH=C:\Program Files (x86)\Inno Setup 6\ISCC.exe