From 8290df9ea685bb88644af185a6f5ce4430bfb7b7 Mon Sep 17 00:00:00 2001 From: Ralph Plawetzki Date: Mon, 1 Aug 2022 18:17:41 +0200 Subject: [PATCH] Pass on CLI parameters for Cryptomator started as an AppImage or installed from PPA Fixes #2301 --- dist/linux/appimage/resources/AppDir/bin/cryptomator.sh | 4 ++-- dist/linux/debian/cryptomator.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/linux/appimage/resources/AppDir/bin/cryptomator.sh b/dist/linux/appimage/resources/AppDir/bin/cryptomator.sh index 39579a122..7aba42a18 100755 --- a/dist/linux/appimage/resources/AppDir/bin/cryptomator.sh +++ b/dist/linux/appimage/resources/AppDir/bin/cryptomator.sh @@ -19,7 +19,7 @@ fi export LD_PRELOAD=lib/app/libjffi.so if [ "$GTK2_PRESENT" -eq 0 ] && [ "$GTK3_PRESENT" -ne 0 ]; then - bin/Cryptomator-gtk2 + bin/Cryptomator-gtk2 $@ else - bin/Cryptomator + bin/Cryptomator $@ fi \ No newline at end of file diff --git a/dist/linux/debian/cryptomator.sh b/dist/linux/debian/cryptomator.sh index b8cea3cfe..0d6453962 100644 --- a/dist/linux/debian/cryptomator.sh +++ b/dist/linux/debian/cryptomator.sh @@ -3,4 +3,4 @@ # fix for https://github.com/cryptomator/cryptomator/issues/1370 export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/jni/libjffi-1.2.so -/usr/lib/cryptomator/bin/cryptomator \ No newline at end of file +/usr/lib/cryptomator/bin/cryptomator $@ \ No newline at end of file