1.0.0 • Published 6 years ago

electron-single v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

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