aboutsummaryrefslogtreecommitdiff
path: root/net-im/signal-desktop/files/patch-ts_util_os_osMain.node.ts
blob: 495ed8cd47fc84ab6f4891501cd2b7aae205cd2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ts/util/os/osMain.node.ts.orig	2025-05-23 14:04:11 UTC
+++ ts/util/os/osMain.node.ts
@@ -6,7 +6,7 @@ function getLinuxName(): string | undefined {
 import { getOSFunctions } from './shared';
 
 function getLinuxName(): string | undefined {
-  if (os.platform() !== 'linux') {
+  if (os.platform() !== 'freebsd') {
     return undefined;
   }
 
@@ -24,7 +24,7 @@ function isLinuxUsingKDE(): boolean {
 }
 
 function isLinuxUsingKDE(): boolean {
-  return os.platform() === 'linux' && process.env.XDG_CURRENT_DESKTOP === 'KDE';
+  return os.platform() === 'freebsd' && process.env.XDG_CURRENT_DESKTOP === 'KDE';
 }
 
 const OS = {