Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.

k0ff33/electron-single-instance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Electron Single Instance

Simple module to help apps developed using [Electron] (http://electron.atom.io/) from opening multiple instances. This is particularly an issue on Windows.

Usage

From your application:

  • var ESI = require('electron-single-instance');
  • ESI.ensureSingleInstance('application name', mainWindow); //mainWindow is optional
  • If your application is not running, it will be launched.
  • If your application is already running, your mainWindow will be focused.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published