Skip to content

Commit

Permalink
🐛 Add workaround for electron/electron#17972
Browse files Browse the repository at this point in the history
  • Loading branch information
Schneegans committed Jul 16, 2024
1 parent 370a23e commit 0f94411
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/make-app-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0f94411

Please sign in to comment.