Skip to content

Commit 5168db5

Browse files
authored
Update net8_mgfxc_wine_setup.sh
Update net8 wine script to support wine 10.0
1 parent 3e73b52 commit 5168db5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)