Update install-vrcx.sh (#1016)

Wine 10.0 broke the check
This commit is contained in:
guerryer
2024-12-07 19:22:19 -05:00
committed by GitHub
parent a34f778937
commit 9b245165f6

View File

@@ -14,7 +14,8 @@ set -u
# Ensure Wine version >= 9.0
wine_version=$(wine --version | grep -Po '(?<=wine-)([0-9.]+)')
if [ "${1-}" != "force" ] && [[ $wine_version < 9.0 ]]; then
if [ "${1-}" != "force" ] && awk "BEGIN {exit !($wine_version < 9.0)}"; then
echo "Your Wine version: $wine_version"
echo "Please upgrade your Wine version to 9.0 or higher."
echo "If you want to try anyway, run: install-vrcx.sh force"
exit 1