Use more user-friendly OS name when archiving standalone builds.

This commit is contained in:
Casey Langen 2022-02-11 10:37:00 -08:00
parent 9ef84a0189
commit 14f1d20005

View File

@ -10,8 +10,14 @@ if [ -z "$VERSION" ]; then
fi
OS=$(uname)
FRIENDLY_OS_NAME="linux"
if [ $OS == "Darwin" ]; then
FRIENDLY_OS_NAME="macos"
fi
ARCH=$(uname -m)
OS_ARCH="${OS}-${ARCH}"
OS_ARCH="${FRIENDLY_OS_NAME}-${ARCH}"
OUTNAME="musikcube_${OS_ARCH}_$VERSION"
OUTDIR="dist/$OUTNAME"
SCRIPTDIR=`dirname "$0"`