diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-10-14 18:20:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-14 18:20:26 +0200 |
commit | c27972c12b2d0dba2aee9e3dcffadcf7806a9afd (patch) | |
tree | 46fcfe261ae55e6faab604e9c75f94f6ffe326ee /src/environment.ts | |
parent | chore: upgrade 'electron-builder' to '22.14.5' to fix upstream issues. (#2068) (diff) | |
download | ferdium-app-c27972c12b2d0dba2aee9e3dcffadcf7806a9afd.tar.gz ferdium-app-c27972c12b2d0dba2aee9e3dcffadcf7806a9afd.tar.zst ferdium-app-c27972c12b2d0dba2aee9e3dcffadcf7806a9afd.zip |
chore: remove all code related to news (#2069)
Diffstat (limited to 'src/environment.ts')
-rw-r--r-- | src/environment.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/environment.ts b/src/environment.ts index 6b68ef432..9b727a607 100644 --- a/src/environment.ts +++ b/src/environment.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | // Note: This file has now become devoid of all references to values deduced from the remote process - all those now live in the `environment-remote.js` file | 1 | // Note: This file has now become devoid of all references to values deduced from the remote process - all those now live in the `environment-remote.js` file |
2 | 2 | ||
3 | import { platform, arch, release } from 'os'; | 3 | import { arch, release } from 'os'; |
4 | 4 | ||
5 | export const isMac = process.platform === 'darwin'; | 5 | export const isMac = process.platform === 'darwin'; |
6 | export const isWindows = process.platform === 'win32'; | 6 | export const isWindows = process.platform === 'win32'; |
@@ -10,7 +10,6 @@ export const electronVersion = process.versions.electron; | |||
10 | export const chromeVersion = process.versions.chrome; | 10 | export const chromeVersion = process.versions.chrome; |
11 | export const nodeVersion = process.versions.node; | 11 | export const nodeVersion = process.versions.node; |
12 | 12 | ||
13 | export const osPlatform = platform(); | ||
14 | export const osArch = arch(); | 13 | export const osArch = arch(); |
15 | export const osRelease = release(); | 14 | export const osRelease = release(); |
16 | export const is64Bit = osArch.match(/64/); | 15 | export const is64Bit = osArch.match(/64/); |