summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVittorio Romeo <vittorio.romeo@outlook.com>2021-11-09 17:16:05 +0000
committerVittorio Romeo <vittorio.romeo@outlook.com>2021-11-09 17:16:05 +0000
commit049b9f1d63dbe44747aecab021179db7ffe13090 (patch)
tree43fb3c9bf8aae753bae2a0f12f851da273ea0ced
parenta93e6c14ec51539a94113fec35f0514a1c836b86 (diff)
Compress built artifacts with UPX
-rw-r--r--prepare_release.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/prepare_release.sh b/prepare_release.sh
index d43469db..731c3bb2 100644
--- a/prepare_release.sh
+++ b/prepare_release.sh
@@ -17,6 +17,7 @@ cp -r ./_RELEASE/Packs/orthoplex ./_PREPARED_RELEASE/Packs
mkdir -p ./_PREPARED_RELEASE/Profiles
cp ./_RELEASE/SSVOpenHexagon.exe ./_PREPARED_RELEASE
+cp ./_RELEASE/SSVOpenHexagon-Console.exe ./_PREPARED_RELEASE
cp ./_RELEASE/libzlib1.dll ./_PREPARED_RELEASE
cp ./_RELEASE/openal32.dll ./_PREPARED_RELEASE
@@ -47,4 +48,9 @@ cp ./_RELEASE/noaudio.bat ./_PREPARED_RELEASE
cp ./_RELEASE/OHWorkshopUploader.exe ./_PREPARED_RELEASE
+cd ./_PREPARED_RELEASE
+upx -9 ./*.dll
+upx -9 ./*.exe
+cd ..
+
cp -r ./_PREPARED_RELEASE ./_PREPARED_RELEASE_TEST