Skip to content

Making your application a Single Instance Application

License

Notifications You must be signed in to change notification settings

egoist/electron-single

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Making your application a Single Instance Application

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published