From 3139487675d7d8197c253afda51fcad25b74f8d3 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Mon, 19 Aug 2024 15:49:35 -0500 Subject: [PATCH] Change SUID of chrome-sandbox for electron 30 to work on Linux --- app/build/resources/linux/debian/postinst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/build/resources/linux/debian/postinst b/app/build/resources/linux/debian/postinst index 2d91ba285..869896ab3 100755 --- a/app/build/resources/linux/debian/postinst +++ b/app/build/resources/linux/debian/postinst @@ -15,6 +15,9 @@ # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package +# https://github.com/electron/electron/issues/42510 +chmod 4755 '/opt/Mailspring/chrome-sandbox' || true + case "$1" in configure) gtk-update-icon-cache /usr/share/icons/hicolor > /dev/null 2>&1