Update the mtg arena installer and updater to be compatible with new mod.

This commit is contained in:
lilmike committed 2026-11-07 11:29:54 -08:00
1 parent d9134dd1a5
commit 43102b72b8
4 files changed
+22 -12

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#!/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[@]}" "$@" &
}