Skip to content

Commit 76b88c6

Browse files
authored
Update net9_mgfxc_wine_setup.sh
Allow wine10.0 to be installed
1 parent 7d69955 commit 76b88c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/content/public/downloads/winesetup/net9_mgfxc_wine_setup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fi
1717

1818
# wine 8 is the minimum requirement for dotnet 8
1919
# wine --version will output "wine-#.# (Distro #.#.#)" or "wine-#.#"
20-
WINE_VERSION=$(wine64 --version 2>&1 | grep -o 'wine-.' | sed 's/wine-//')
20+
WINE_VERSION=$(wine64 --version 2>&1 | grep -o 'wine-.' | sed 's/wine-//' | sed 's/\.//')
2121
if (( $WINE_VERSION < 8 )); then
2222
echo "Wine version $WINE_VERSION is below the minimum required version (8.0)."
2323
exit 1

0 commit comments

Comments
 (0)