Skip to content

Commit 778a257

Browse files
committed
fix: use ELECTRON_DISABLE_SANDBOX env var instead of --no-sandbox flag
1 parent e5a1d11 commit 778a257

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

apps/installer/scripts/install.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,11 @@ 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
217+
# ELECTRON_DISABLE_SANDBOX is required for AppImages without SUID chrome-sandbox
218218
APPIMAGE="$HOME/.pairux/PairUX.AppImage"
219219
if [ -x "$APPIMAGE" ]; then
220-
exec "$APPIMAGE" --no-sandbox "$@"
220+
export ELECTRON_DISABLE_SANDBOX=1
221+
exec "$APPIMAGE" "$@"
221222
else
222223
echo "Error: PairUX AppImage not found at $APPIMAGE"
223224
echo "Please reinstall: curl -fsSL https://installer.pairux.com/install.sh | bash"

0 commit comments

Comments
 (0)