blob: e5fcb67d414cc927b05a9198538b0dd53ec4330c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- ts/state/getInitialState.preload.ts.orig 2023-10-19 19:29:53 UTC
+++ ts/state/getInitialState.preload.ts
@@ -72,7 +72,7 @@ export function getInitialState({
const theme = getThemeType();
- let osName: 'windows' | 'macos' | 'linux' | undefined;
+ let osName: 'windows' | 'macos' | 'linux' | 'freebsd' | undefined;
if (OS.isWindows()) {
osName = 'windows';
@@ -80,6 +80,8 @@ export function getInitialState({
osName = 'macos';
} else if (OS.isLinux()) {
osName = 'linux';
+ } else if (OS.isFreeBSD()) {
+ osName = 'freebsd';
}
return {
|