From 3b2db7518a569bcd0a630ad7441191bc1c01b177 Mon Sep 17 00:00:00 2001 From: Aptivi Date: Sun, 22 Dec 2024 11:42:40 +0300 Subject: [PATCH] int - Fixed build scripts --- Type: int Breaking: False Doc Required: False Backport Required: False Part: 1/1 --- tools/pack.cmd | 4 ++-- tools/pack.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/pack.cmd b/tools/pack.cmd index 6247919..b75c25b 100644 --- a/tools/pack.cmd +++ b/tools/pack.cmd @@ -24,8 +24,8 @@ if "%releaseconfig%" == "" set releaseconfig=Release :packbin echo Packing binary... -"%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%version%-cli.zip "..\BassBoom.Cli\bin\%releaseconfig%\net8.0\*" -"%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%version%-cli-48.zip "..\BassBoom.Cli\bin\%releaseconfig%\net48\*" +"%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%version%-cli.zip "..\private\BassBoom.Cli\bin\%releaseconfig%\net8.0\*" +"%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%version%-cli-48.zip "..\private\BassBoom.Cli\bin\%releaseconfig%\net48\*" if %errorlevel% == 0 goto :complete echo There was an error trying to pack binary (%errorlevel%). goto :finished diff --git a/tools/pack.sh b/tools/pack.sh index 34c272a..21feef9 100644 --- a/tools/pack.sh +++ b/tools/pack.sh @@ -40,9 +40,9 @@ checkerror $? "zip is not found" # Pack binary echo Packing binary... -cd "../BassBoom.Cli/bin/$releaseconf/net8.0/" && "$zippath" -r /tmp/$version-cli.zip . && cd - +cd "../private/BassBoom.Cli/bin/$releaseconf/net8.0/" && "$zippath" -r /tmp/$version-cli.zip . && cd - checkerror $? "Failed to pack" -cd "../BassBoom.Cli/bin/$releaseconf/net48/" && "$zippath" -r /tmp/$version-cli-48.zip . && cd - +cd "../private/BassBoom.Cli/bin/$releaseconf/net48/" && "$zippath" -r /tmp/$version-cli-48.zip . && cd - checkerror $? "Failed to pack" # Inform success