summaryrefslogtreecommitdiff
path: root/net-im/signal-desktop/files/patch-app_main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/signal-desktop/files/patch-app_main.ts')
-rw-r--r--net-im/signal-desktop/files/patch-app_main.ts15
1 files changed, 12 insertions, 3 deletions
diff --git a/net-im/signal-desktop/files/patch-app_main.ts b/net-im/signal-desktop/files/patch-app_main.ts
index 12953d4bd665..3e60c20bf99a 100644
--- a/net-im/signal-desktop/files/patch-app_main.ts
+++ b/net-im/signal-desktop/files/patch-app_main.ts
@@ -1,6 +1,6 @@
--- app/main.ts.orig 2023-10-19 19:29:53 UTC
+++ app/main.ts
-@@ -628,7 +628,7 @@ if (OS.isWindows()) {
+@@ -616,7 +616,7 @@ if (OS.isWindows()) {
if (OS.isWindows()) {
windowIcon = join(__dirname, '../build/icons/win/icon.ico');
@@ -9,7 +9,7 @@
windowIcon = join(__dirname, '../images/signal-logo-desktop-linux.png');
} else {
windowIcon = join(__dirname, '../build/icons/png/512x512.png');
-@@ -1665,6 +1665,7 @@ function getSQLKey(): string {
+@@ -1613,6 +1613,7 @@ function getSQLKey(): string {
function getSQLKey(): string {
let update = false;
const isLinux = OS.isLinux();
@@ -17,7 +17,16 @@
const legacyKeyValue = userConfig.get('key');
const modernKeyValue = userConfig.get('encryptedKey');
const previousBackend = isLinux
-@@ -2618,7 +2619,7 @@ ipc.on('draw-attention', () => {
+@@ -1945,7 +1946,7 @@ app.commandLine.appendSwitch('disable-features', featu
+ )}`;
+ app.commandLine.appendSwitch('disable-features', featuresToDisable);
+
+-if (OS.isLinux()) {
++if (OS.isLinux() || OS.isFreeBSD()) {
+ // https://github.com/electron/electron/issues/46538#issuecomment-2808806722
+ app.commandLine.appendSwitch('gtk-version', '3');
+ }
+@@ -2570,7 +2571,7 @@ ipc.on('draw-attention', () => {
return;
}