mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-24 09:13:50 +02:00
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user