This commit is contained in:
Михаил Капелько committed 2026-10-17 11:20:21 +03:00
1 parent 55482633c4
commit 5646345322
10 files changed
+743 -197

No files matched your search

+10
View File
@@ -3,5 +3,15 @@
STEP=$((STEP+1))
echo -e "\n> > > > Step №$STEP. Build for macOS"
# raylib is required for the 3D scene (used by the RaylibBridge target).
if [[ -z "${RAYLIB_PREFIX:-}" ]] && command -v brew >/dev/null 2>&1; then
RAYLIB_PREFIX="$(HOMEBREW_NO_AUTO_UPDATE=1 brew --prefix raylib 2>/dev/null || true)"
fi
if [[ -z "${RAYLIB_PREFIX:-}" ]]; then
RAYLIB_PREFIX=/opt/homebrew
fi
export RAYLIB_PREFIX
echo "> > > > raylib: $RAYLIB_PREFIX"
cd $SDIR/../game/ver-mac
swift build # -Xswiftc -swift-version -Xswiftc 6
+3
View File
@@ -13,3 +13,6 @@ 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"
cp "$SDIR/../game/ver-mac/Resources/AppIcon.icns" "$APP_DAT/Resources/AppIcon.icns"
mkdir -p "$APP_DAT/Resources/assets"
cp "$SDIR/../game/ver-mac/Resources/assets/"* "$APP_DAT/Resources/assets/"