From 09f914797f0cd388572510d62de5b3ed17a77dcd Mon Sep 17 00:00:00 2001 From: Bernhard Bermeitinger Date: Fri, 6 Sep 2019 16:07:47 +0200 Subject: [PATCH 1/4] Trying to fix #92 --- org.signal.Signal.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org.signal.Signal.json b/org.signal.Signal.json index e66a67d..934d282 100644 --- a/org.signal.Signal.json +++ b/org.signal.Signal.json @@ -34,6 +34,8 @@ "rm -rf /app/share/icons/hicolor/1024x1024/", "chmod -R a-s,go+rX,go-w /app/Signal", "sed -i 's|Exec=.*|Exec=signal %U|' /app/share/applications/signal-desktop.desktop", + "chown root:root /app/Signal/chrome-sandbox", + "chmod 4755 /app/Signal/chrome-sandbox", "install signal.sh /app/bin/signal", "install -Dm644 org.signal.Signal.appdata.xml /app/share/appdata/org.signal.Signal.appdata.xml" ], From 2980be679daa2ec38edc125722717f76b7772b85 Mon Sep 17 00:00:00 2001 From: Bernhard Bermeitinger Date: Fri, 6 Sep 2019 16:10:59 +0200 Subject: [PATCH 2/4] [WIP] fixing things --- org.signal.Signal.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.signal.Signal.json b/org.signal.Signal.json index 934d282..c4ee303 100644 --- a/org.signal.Signal.json +++ b/org.signal.Signal.json @@ -34,7 +34,7 @@ "rm -rf /app/share/icons/hicolor/1024x1024/", "chmod -R a-s,go+rX,go-w /app/Signal", "sed -i 's|Exec=.*|Exec=signal %U|' /app/share/applications/signal-desktop.desktop", - "chown root:root /app/Signal/chrome-sandbox", + "chown root /app/Signal/chrome-sandbox", "chmod 4755 /app/Signal/chrome-sandbox", "install signal.sh /app/bin/signal", "install -Dm644 org.signal.Signal.appdata.xml /app/share/appdata/org.signal.Signal.appdata.xml" From 4779a58cd8acc236c6688fa09f71d10818f8890f Mon Sep 17 00:00:00 2001 From: Bernhard Bermeitinger Date: Fri, 6 Sep 2019 16:16:21 +0200 Subject: [PATCH 3/4] [WIP] fixing things --- org.signal.Signal.json | 1 - 1 file changed, 1 deletion(-) diff --git a/org.signal.Signal.json b/org.signal.Signal.json index c4ee303..e0a82ab 100644 --- a/org.signal.Signal.json +++ b/org.signal.Signal.json @@ -34,7 +34,6 @@ "rm -rf /app/share/icons/hicolor/1024x1024/", "chmod -R a-s,go+rX,go-w /app/Signal", "sed -i 's|Exec=.*|Exec=signal %U|' /app/share/applications/signal-desktop.desktop", - "chown root /app/Signal/chrome-sandbox", "chmod 4755 /app/Signal/chrome-sandbox", "install signal.sh /app/bin/signal", "install -Dm644 org.signal.Signal.appdata.xml /app/share/appdata/org.signal.Signal.appdata.xml" From 8c9ac6e9c428459e5952cb8f58c55524c8d13cde Mon Sep 17 00:00:00 2001 From: Bernhard Bermeitinger Date: Fri, 6 Sep 2019 17:13:28 +0200 Subject: [PATCH 4/4] Disable electron sandbox --- org.signal.Signal.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/org.signal.Signal.json b/org.signal.Signal.json index e0a82ab..e04503a 100644 --- a/org.signal.Signal.json +++ b/org.signal.Signal.json @@ -34,7 +34,6 @@ "rm -rf /app/share/icons/hicolor/1024x1024/", "chmod -R a-s,go+rX,go-w /app/Signal", "sed -i 's|Exec=.*|Exec=signal %U|' /app/share/applications/signal-desktop.desktop", - "chmod 4755 /app/Signal/chrome-sandbox", "install signal.sh /app/bin/signal", "install -Dm644 org.signal.Signal.appdata.xml /app/share/appdata/org.signal.Signal.appdata.xml" ], @@ -49,7 +48,7 @@ "type": "script", "dest-filename": "signal.sh", "commands": [ - "exec env TMPDIR=$XDG_CACHE_HOME /app/Signal/signal-desktop \"$@\"" + "exec env TMPDIR=$XDG_CACHE_HOME /app/Signal/signal-desktop --no-sandbox \"$@\"" ] }, {