electron-background

1.0.0 • Public • Published

electron-background

Launch an Electron application from the command line as a detached application. The command line will return immediately, and the application will not attach to your active terminal.

CLI

Start your application as you normally would except using electron-background instead of electron:

npx electron-background .

API

I can't see why you might want this, but if you do... why not:

const electronBackground = require('electron-background');
 
electronBackground(['.']);
 
// you can now exit if you want, the app will stay running
process.exit();

Package Sidebar

Install

npm i electron-background

Weekly Downloads

19

Version

1.0.0

License

ISC

Unpacked Size

1.91 kB

Total Files

4

Last publish

Collaborators

  • kirilv