From 00f856e0ceae3cb01b8f12c6aa000af22019144c Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Wed, 10 Jun 2020 15:22:52 +0200 Subject: [PATCH] Detect non-glibc systems. The AppImage is known to fail on musl-based systems, see https://github.com/AppImage/AppImageKit/issues/1015 --- proxy.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proxy.php b/proxy.php index c147490..a4fb038 100644 --- a/proxy.php +++ b/proxy.php @@ -111,6 +111,10 @@ function checkLoolwsdSetup() if ($return) return 'no_fontconfig'; + exec("ldd $appImage", $output, $return); + if ($return) + return 'no_glibc'; + return ''; }