From 2dee2732f4ea1eec644ff0a13d736b572f739ae8 Mon Sep 17 00:00:00 2001 From: cjee21 <77721854+cjee21@users.noreply.github.com> Date: Wed, 27 Nov 2024 17:56:00 +0800 Subject: [PATCH] Release scripts improvements --- Release/Release_CLI_Windows_i386.bat | 4 ++-- Release/Release_CLI_Windows_x64.bat | 4 ++-- Release/Release_GUI_Windows_i386.bat | 7 ++----- Release/Release_GUI_Windows_x64.bat | 4 ++-- 4 files changed, 8 insertions(+), 11 deletions(-) diff --git a/Release/Release_CLI_Windows_i386.bat b/Release/Release_CLI_Windows_i386.bat index 873db7af4..22f7abe52 100644 --- a/Release/Release_CLI_Windows_i386.bat +++ b/Release/Release_CLI_Windows_i386.bat @@ -8,8 +8,8 @@ rem --- Search binaries --- set BPATH= -if exist "%~dp0\..\..\..\MediaArea-Utils-Binaries" set BPATH="%~dp0\..\..\..\MediaArea-Utils-Binaries" -if exist "%~dp0\..\..\MediaArea-Utils-Binaries" set BPATH="%~dp0\..\..\MediaArea-Utils-Binaries" +if exist "%~dp0\..\..\..\MediaArea-Utils-Binaries" set "BPATH=%~dp0\..\..\..\MediaArea-Utils-Binaries" +if exist "%~dp0\..\..\MediaArea-Utils-Binaries" set "BPATH=%~dp0\..\..\MediaArea-Utils-Binaries" if "%BPATH%"=="" ( echo "ERROR: binaries path not found" exit /b 1 diff --git a/Release/Release_CLI_Windows_x64.bat b/Release/Release_CLI_Windows_x64.bat index dfc1e84e3..593786fb0 100644 --- a/Release/Release_CLI_Windows_x64.bat +++ b/Release/Release_CLI_Windows_x64.bat @@ -8,8 +8,8 @@ rem --- Search binaries --- set BPATH= -if exist "%~dp0\..\..\..\MediaArea-Utils-Binaries" set BPATH="%~dp0\..\..\..\MediaArea-Utils-Binaries" -if exist "%~dp0\..\..\MediaArea-Utils-Binaries" set BPATH="%~dp0\..\..\MediaArea-Utils-Binaries" +if exist "%~dp0\..\..\..\MediaArea-Utils-Binaries" set "BPATH=%~dp0\..\..\..\MediaArea-Utils-Binaries" +if exist "%~dp0\..\..\MediaArea-Utils-Binaries" set "BPATH=%~dp0\..\..\MediaArea-Utils-Binaries" if "%BPATH%"=="" ( echo "ERROR: binaries path not found" exit /b 1 diff --git a/Release/Release_GUI_Windows_i386.bat b/Release/Release_GUI_Windows_i386.bat index d7c71622b..d1db706dc 100644 --- a/Release/Release_GUI_Windows_i386.bat +++ b/Release/Release_GUI_Windows_i386.bat @@ -8,8 +8,8 @@ rem --- Search binaries --- set BPATH= -if exist "%~dp0\..\..\..\MediaArea-Utils-Binaries" set BPATH="%~dp0\..\..\..\MediaArea-Utils-Binaries" -if exist "%~dp0\..\..\MediaArea-Utils-Binaries" set BPATH="%~dp0\..\..\MediaArea-Utils-Binaries" +if exist "%~dp0\..\..\..\MediaArea-Utils-Binaries" set "BPATH=%~dp0\..\..\..\MediaArea-Utils-Binaries" +if exist "%~dp0\..\..\MediaArea-Utils-Binaries" set "BPATH=%~dp0\..\..\MediaArea-Utils-Binaries" if "%BPATH%"=="" ( echo "ERROR: binaries path not found" exit /b 1 @@ -22,9 +22,6 @@ rmdir MediaInfo_GUI_Windows_i386 /S /Q mkdir MediaInfo_GUI_Windows_i386 -@rem --- Preparing --- -copy BCB\GUI\MediaInfo_GUI.exe BCB\GUI\MediaInfo.exe - @rem --- Copying : Exe --- copy ..\Project\BCB\GUI\Win32\Release\MediaInfo_GUI.exe MediaInfo_GUI_Windows_i386\MediaInfo.exe xcopy ..\..\MediaInfoLib\Project\MSVC2022\Win32\Release\MediaInfo.dll MediaInfo_GUI_Windows_i386\ /S diff --git a/Release/Release_GUI_Windows_x64.bat b/Release/Release_GUI_Windows_x64.bat index 27941fe7c..41d2c8b5e 100644 --- a/Release/Release_GUI_Windows_x64.bat +++ b/Release/Release_GUI_Windows_x64.bat @@ -8,8 +8,8 @@ rem --- Search binaries --- set BPATH= -if exist "%~dp0\..\..\..\MediaArea-Utils-Binaries" set BPATH="%~dp0\..\..\..\MediaArea-Utils-Binaries" -if exist "%~dp0\..\..\MediaArea-Utils-Binaries" set BPATH="%~dp0\..\..\MediaArea-Utils-Binaries" +if exist "%~dp0\..\..\..\MediaArea-Utils-Binaries" set "BPATH=%~dp0\..\..\..\MediaArea-Utils-Binaries" +if exist "%~dp0\..\..\MediaArea-Utils-Binaries" set "BPATH=%~dp0\..\..\MediaArea-Utils-Binaries" if "%BPATH%"=="" ( echo "ERROR: binaries path not found" exit /b 1