electron-util
Version:
Useful utilities for Electron apps and modules
15 lines (11 loc) • 363 B
TypeScript
/**
For example, use this in the `body` option of the `.openNewGitHubIssue()` method.
@returns A string with debug info suitable for inclusion in bug reports.
@example
```
import {debugInfo} from 'electron-util';
console.log(debugInfo());
//=> 'AppName 2.21.0\nElectron 3.0.6\ndarwin 18.2.0\nLocale: en-US'
```
*/
export declare const debugInfo: () => string;