Files
audiogame-manager/.includes/magic-the-gathering-arena.sh

11 lines
288 B
Bash

#!/usr/bin/env bash
run_mtga() {
local -a launchCommand=(wine)
if command -v gamemoderun >/dev/null; then
launchCommand=(gamemoderun wine)
fi
cp "$cache/prism.dll" "$WINEPREFIX/drive_c/Program Files (x86)/Wizards of the Coast/MTGA"
"${launchCommand[@]}" "$@" &
}