Commit 90209f1f authored by Vitaly Lipatov's avatar Vitaly Lipatov

play code: fallback to 1.106.3 if OpenSSL 3 or WebKit 4.1 not available

parent be5b3e61
...@@ -9,10 +9,15 @@ URL="https://code.visualstudio.com/" ...@@ -9,10 +9,15 @@ URL="https://code.visualstudio.com/"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
# version 1.107+ requires OpenSSL 3 and WebKit2GTK 4.1 # override only checked version and latest version
if [ "$VERSION" = "*" ] || [ "$(epm print compare version "$VERSION" 1.107)" != "-1" ] ; then if [ -n "$CHECKED_VERSION" ] || [ "$VERSION" = "*" ] ; then
is_openssl_enough 3 || fatal "There is no needed OpenSSL 3 in the system." if ! is_openssl_enough 3 ; then
is_soname_present libwebkit2gtk-4.1.so.0 || fatal "There is no libwebkit2gtk-4.1 in the system." VERSION="1.106.3"
info "There is no needed OpenSSL 3 in the system, we'll stick with the old version $VERSION"
elif ! is_soname_present libwebkit2gtk-4.1.so.0 ; then
VERSION="1.106.3"
info "There is no libwebkit2gtk-4.1 in the system, we'll stick with the old version $VERSION"
fi
fi fi
arch="$(epm print info -a)" arch="$(epm print info -a)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment