From 0f944119f4ab29d8ae037cd497980dec439aa7cb Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Tue, 16 Jul 2024 20:27:25 +0200 Subject: [PATCH] :bug: Add workaround for https://github.com/electron/electron/issues/17972 --- tools/make-app-image.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/make-app-image.sh b/tools/make-app-image.sh index 2c39da65..216fbaa3 100755 --- a/tools/make-app-image.sh +++ b/tools/make-app-image.sh @@ -33,10 +33,11 @@ cp "$SCRIPT_DIR/kando.desktop" . cp resources/app/.webpack/main/assets/icon*png ./kando.png && ln -s ./kando.png ./.DirIcon # Create the AppRun file. +# --no-sandbox is required as workaround for https://github.com/electron/electron/issues/17972 cat >> ./AppRun << 'EOF' #!/bin/sh CURRENTDIR="$(readlink -f "$(dirname "$0")")" -exec "$CURRENTDIR"/kando "$@" +exec "$CURRENTDIR"/kando --no-sandbox "$@" EOF chmod a+x ./AppRun