mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-01-05 13:45:25 -06:00
b4c559c3ee
* ELECTRON-705 - Add custom title bar support for Window 7 * ELECTRON-705 - Optimize title bar menu selection logic and include detail section * ELECTRON-705 - Change installer check box titles and des
17 lines
392 B
JavaScript
17 lines
392 B
JavaScript
'use strict';
|
|
|
|
const isDevEnv = process.env.ELECTRON_DEV ?
|
|
process.env.ELECTRON_DEV.trim().toLowerCase() === 'true' : false;
|
|
|
|
const isMac = (process.platform === 'darwin');
|
|
const isWindowsOS = (process.platform === 'win32');
|
|
|
|
const isNodeEnv = !!process.env.NODE_ENV;
|
|
|
|
module.exports = {
|
|
isDevEnv: isDevEnv,
|
|
isMac: isMac,
|
|
isWindowsOS: isWindowsOS,
|
|
isNodeEnv: isNodeEnv
|
|
};
|