Browse Source

Merge pull request #2365 from purejava/fix-2301

Pass on CLI parameters from launch scripts to executables
Sebastian Stenzel 2 years ago
parent
commit
1cd3d1d67f

+ 2 - 2
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

+ 1 - 1
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
+/usr/lib/cryptomator/bin/cryptomator $@