Files
__mahjong/util/step/packageMac
T
2026-10-21 06:37:43 +03:00

19 lines
514 B
Bash
Executable File

#!/bin/bash -e
STEP=$((STEP+1))
echo -e "\n> > > > Step №$STEP. Make an app package for macOS"
rm -rf "$APP_MAC"
APP_DAT="$APP_MAC/Contents"
mkdir -p "$APP_DAT/MacOS"
mkdir -p "$APP_DAT/Resources"
cp "$SDIR/../game/ver-mac/.build/debug/ogs-mahjong" "$APP_DAT/MacOS/ogs-mahjong"
cp "$SDIR/../game/ver-mac/Info.plist" "$APP_DAT/Info.plist"
# App resources (icons + glTF assets) live in the repo-level res/ directory,
# symlinked as game/ver-mac/res.
cp -R "$SDIR/../game/ver-mac/res/." "$APP_DAT/Resources/"