diff options
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/); |