From 761ab4219ee227f896d29f26fc1b851dfd848761 Mon Sep 17 00:00:00 2001 From: yiyi Date: Sun, 31 Aug 2025 21:24:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=92=95=E8=A3=82=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E6=89=93=E5=8C=85=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GrabBagPrj/BeltTearingApp.iss | 2 +- GrabBagPrj/pkg_beltrearingapp.bat | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/GrabBagPrj/BeltTearingApp.iss b/GrabBagPrj/BeltTearingApp.iss index 78217ac..cb51081 100644 --- a/GrabBagPrj/BeltTearingApp.iss +++ b/GrabBagPrj/BeltTearingApp.iss @@ -6,7 +6,7 @@ #define MyAppPublisher "" #define MyAppURL "" #define MyAppExeName "BeltTearingApp.exe" -#define MyProgramPath ".\BeltTearingApp" +#define MyProgramPath ".\buildwin\BeltTearingApp" [Setup] ; NOTE: The value of AppId uniquely identifies this application. diff --git a/GrabBagPrj/pkg_beltrearingapp.bat b/GrabBagPrj/pkg_beltrearingapp.bat index 3d6270e..d46287f 100644 --- a/GrabBagPrj/pkg_beltrearingapp.bat +++ b/GrabBagPrj/pkg_beltrearingapp.bat @@ -1,15 +1,17 @@ @echo off 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" -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" -cd .. +cd ..\.. set ISCC_PATH=C:\Program Files (x86)\Inno Setup 6\ISCC.exe