Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,22 @@ MonoGame provides a setup script that can be executed to setup the Wine environm
1. Enter the following command:

```sh
brew install wget p7zip curl && brew install --cask wine-stable && xattr -dr com.apple.quarantine "/Applications/Wine Stable.app"
brew install wget p7zip curl
brew install --cask xquartz
```

1. Download and install Wine manually because the Homebrew `wine-stable` cask is no longer available:

```sh
WINE_VERSION="11.0_1"
WINE_DIR="$HOME/.winemonogame/wine-stable"
WINE_ARCHIVE="${TMPDIR:-/tmp}/wine-stable.tar.xz"
mkdir -p "$WINE_DIR"
curl --fail --location --output "$WINE_ARCHIVE" "https://github.com/Gcenx/macOS_Wine_builds/releases/download/${WINE_VERSION}/wine-stable-${WINE_VERSION}-osx64.tar.xz"
tar -xf "$WINE_ARCHIVE" -C "$WINE_DIR"
xattr -dr com.apple.quarantine "$WINE_DIR/Wine Stable.app"
echo "export PATH=\"\$PATH:$WINE_DIR/Wine Stable.app/Contents/Resources/wine/bin\"" >> "$HOME/.zprofile"
export PATH="$PATH:$WINE_DIR/Wine Stable.app/Contents/Resources/wine/bin"
```

1. Now that the prerequisites are installed, download the [mgfxc_wine_setup.sh](https://monogame.net/downloads/net9_mgfxc_wine_setup.sh) script and execute it by entering the following command in the terminal:
Expand Down