electron-single

1.0.0 • Public • Published

electron-single

NPM version NPM downloads CircleCI donate chat

Instead of allowing multiple instances of your app to run, this will ensure that only a single instance of your app is running, and other instances signal this instance and exit.

Install

yarn add electron-single

Usage

const makeSingle = require('electron-single')
 
makeSingle(mainWindow)

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

electron-single © EGOIST, Released under the MIT License.
Authored and maintained by EGOIST with help from contributors (list).

github.com/egoist · GitHub @EGOIST · Twitter @_egoistlily

Readme

Keywords

none

Package Sidebar

Install

npm i electron-single

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.58 kB

Total Files

5

Last publish

Collaborators

  • rem