diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
| commit | 2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch) | |
| tree | 25f0138e1af8902b92dacc8cce09b267447c17db /net-im/signal-desktop/files/patch-app_main.main.ts | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'net-im/signal-desktop/files/patch-app_main.main.ts')
| -rw-r--r-- | net-im/signal-desktop/files/patch-app_main.main.ts | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/net-im/signal-desktop/files/patch-app_main.main.ts b/net-im/signal-desktop/files/patch-app_main.main.ts new file mode 100644 index 000000000000..53ad6be6c72b --- /dev/null +++ b/net-im/signal-desktop/files/patch-app_main.main.ts @@ -0,0 +1,28 @@ +--- app/main.main.ts.orig 2023-10-19 19:29:53 UTC ++++ app/main.main.ts +@@ -616,7 +616,7 @@ if (OS.isWindows()) { + + if (OS.isWindows()) { + windowIcon = join(__dirname, '../build/icons/win/icon.ico'); +-} else if (OS.isLinux()) { ++} else if (OS.isLinux() || OS.isFreeBSD()) { + windowIcon = join(__dirname, '../images/signal-logo-desktop-linux.png'); + } else { + windowIcon = join(__dirname, '../build/icons/png/512x512.png'); +@@ -1613,6 +1613,7 @@ function getSQLKey(): string { + function getSQLKey(): string { + let update = false; + const isLinux = OS.isLinux(); ++ const isFreeBSD = OS.isFreeBSD(); + const legacyKeyValue = userConfig.get('key'); + const modernKeyValue = userConfig.get('encryptedKey'); + const previousBackend = isLinux +@@ -2570,7 +2571,7 @@ ipc.on('draw-attention', () => { + return; + } + +- if (OS.isWindows() || OS.isLinux()) { ++ if (OS.isWindows() || OS.isLinux() || OS.isFreeBSD()) { + mainWindow.flashFrame(true); + } + }); |
