LarpixClient/electron/node_modules/electron-is-dev/index.d.ts
olcxja cca8b02fea
Some checks failed
Android Build / publish (push) Successful in 33s
Linux Build / publish (push) Failing after 25s
Update gitignore (sorry)
2026-05-10 14:02:17 +02:00

21 lines
459 B
TypeScript

/**
Check if [Electron](https://electronjs.org) is running in development.
This package must be used from the Electron main process.
You can force development mode by setting the `ELECTRON_IS_DEV` environment variable to `1`.
@example
```
import isDev = require('electron-is-dev');
if (isDev) {
console.log('Running in development');
} else {
console.log('Running in production');
}
```
*/
declare const electronIsDev: boolean;
export = electronIsDev;