:-'Generic Commit'

This commit is contained in:
Your Name
2025-05-28 17:43:01 +12:00
parent 430d6e0a6f
commit f5e39a64eb
4 changed files with 141 additions and 87 deletions

View File

@ -202,7 +202,10 @@ function build_arch() {
cd "${ARCH_BUILD_DIR}" || exit 1
ninja -j"${JOBS}"
upx "${ARCH_BUILD_DIR}/${EXECUTABLE_NAME}"
if [ "$RELEASE" -eq 1 ]; then
upx "${ARCH_BUILD_DIR}/${EXECUTABLE_NAME}"
fi
if [ ! -d "${OUTPUT_DIR}" ]; then
mkdir -p "${OUTPUT_DIR}"
fi