mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 22:46:06 +02:00
@@ -14,7 +14,8 @@ set -u
|
|||||||
|
|
||||||
# Ensure Wine version >= 9.0
|
# Ensure Wine version >= 9.0
|
||||||
wine_version=$(wine --version | grep -Po '(?<=wine-)([0-9.]+)')
|
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 "Please upgrade your Wine version to 9.0 or higher."
|
||||||
echo "If you want to try anyway, run: install-vrcx.sh force"
|
echo "If you want to try anyway, run: install-vrcx.sh force"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user