Detect if running in Electron.
npm install --save @cheton/is-electron
import isElectron from '@cheton/is-electron';
console.log(isElectron());
Copyright (c) 2016 Cheton Wu
Licensed under the MIT License.
Detect if running in Electron.
npm install --save @cheton/is-electron
import isElectron from '@cheton/is-electron';
console.log(isElectron());
Copyright (c) 2016 Cheton Wu
Licensed under the MIT License.