From 2abf445637bbab9466788d577739eeaa91db20ea Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Sat, 2 May 2026 16:57:54 -0700 Subject: [PATCH] Fix error installing mtga if a previous game was using win xp. --- .install/Magic: The Gathering Arena.sh | 1 + game-scripts/magic-the-gathering-arena-update.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.install/Magic: The Gathering Arena.sh b/.install/Magic: The Gathering Arena.sh index 9008807..73a59e4 100644 --- a/.install/Magic: The Gathering Arena.sh +++ b/.install/Magic: The Gathering Arena.sh @@ -78,6 +78,7 @@ install_accessible_arena_support() { } install_wine_bottle dxvk +winetricks -q $winVer mtgaRoot="${WINEPREFIX}/drive_c/Program Files (x86)/Wizards of the Coast/MTGA" mtgaInstallerUrl="$(get_mtga_installer_url)" diff --git a/game-scripts/magic-the-gathering-arena-update.sh b/game-scripts/magic-the-gathering-arena-update.sh index 3f6de6f..82e174a 100755 --- a/game-scripts/magic-the-gathering-arena-update.sh +++ b/game-scripts/magic-the-gathering-arena-update.sh @@ -3,6 +3,7 @@ export game="Magic: The Gathering Arena" export WINEARCH=win64 +export winVer="win10" export DIALOGOPTS='--no-lines --visit-items' export ipfsGateway="${ipfsGateway:-https://ipfs.stormux.org}" @@ -94,6 +95,7 @@ install_accessible_arena_support() { check_requirements || exit 1 install_wine_bottle dxvk +winetricks -q $winVer mtgaRoot="${WINEPREFIX}/drive_c/Program Files (x86)/Wizards of the Coast/MTGA" mtgaInstallerUrl="$(get_mtga_installer_url)"