diff --git a/tools/pack.cmd b/tools/pack.cmd index 55535ef..e9e4224 100644 --- a/tools/pack.cmd +++ b/tools/pack.cmd @@ -24,13 +24,16 @@ if "%releaseconfig%" == "" set releaseconfig=Release :packbin echo Packing binary... "%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%ksversion%-bin.zip "..\RetroKS\bin\%releaseconfig%\net6.0\*" +"%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%ksversion%-bin7.zip "..\RetroKS\bin\%releaseconfig%\net7.0\*" +"%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%ksversion%-bin48.zip "..\RetroKS\bin\%releaseconfig%\net48\*" if %errorlevel% == 0 goto :complete echo There was an error trying to pack binary (%errorlevel%). goto :finished :complete move %temp%\%ksversion%-bin.zip -copy "..\RetroKS\bin\%releaseconfig%\net6.0\RetroKS.pdb" .\%ksversion%.pdb +move %temp%\%ksversion%-bin7.zip +move %temp%\%ksversion%-bin48.zip echo Pack successful. :finished diff --git a/tools/pack.sh b/tools/pack.sh index 5c7f5aa..2385f91 100644 --- a/tools/pack.sh +++ b/tools/pack.sh @@ -34,6 +34,8 @@ fi # Pack binary echo Packing binary... cd "../RetroKS/bin/$ksreleaseconf/net6.0/" && "$zippath" -r /tmp/$ksversion-bin.zip . && cd - +cd "../RetroKS/bin/$ksreleaseconf/net7.0/" && "$zippath" -r /tmp/$ksversion-bin7.zip . && cd - +cd "../RetroKS/bin/$ksreleaseconf/net48/" && "$zippath" -r /tmp/$ksversion-bin48.zip . && cd - if [ ! $? == 0 ]; then echo Packing failed. exit 1 @@ -41,6 +43,5 @@ fi # Inform success mv /tmp/$ksversion-bin.zip . -cp "../RetroKS/bin/$ksreleaseconf/net6.0/RetroKS.pdb" ./$ksversion.pdb echo Build and pack successful. exit 0