Skip to content

Commit

Permalink
Update install-vrcx.sh (vrcx-team#1016)
Browse files Browse the repository at this point in the history
Wine 10.0 broke the check
  • Loading branch information
guerryer authored Dec 8, 2024
1 parent a34f778 commit 9b24516
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Linux/install-vrcx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9b24516

Please sign in to comment.