Skip to content

Commit e5a1d11

Browse files
committed
fix: pass --no-sandbox flag to AppImage launcher (sandbox check runs before Electron code)
1 parent da8cf56 commit e5a1d11

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

apps/installer/scripts/install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,10 @@ install_linux() {
214214
cat > "$BIN_DIR/pairux" << 'WRAPPER'
215215
#!/bin/bash
216216
# PairUX launcher
217+
# --no-sandbox is required for AppImages without SUID chrome-sandbox
217218
APPIMAGE="$HOME/.pairux/PairUX.AppImage"
218219
if [ -x "$APPIMAGE" ]; then
219-
exec "$APPIMAGE" "$@"
220+
exec "$APPIMAGE" --no-sandbox "$@"
220221
else
221222
echo "Error: PairUX AppImage not found at $APPIMAGE"
222223
echo "Please reinstall: curl -fsSL https://installer.pairux.com/install.sh | bash"

0 commit comments

Comments
 (0)