mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-31 19:27:00 -06:00
15 lines
314 B
JavaScript
15 lines
314 B
JavaScript
'use strict';
|
|
|
|
const isDevEnv = process.env.ELECTRON_DEV ?
|
|
process.env.ELECTRON_DEV.trim().toLowerCase() === 'true' : false;
|
|
|
|
const isMac = (process.platform === 'darwin');
|
|
|
|
const isNodeEnv = !!process.env.NODE_ENV;
|
|
|
|
module.exports = {
|
|
isDevEnv: isDevEnv,
|
|
isMac: isMac,
|
|
isNodeEnv: isNodeEnv
|
|
};
|