electron-collection
Set of helper modules to build Electron applications.
API
debug([opts])
Adds useful debug features to your Electron app. See: electron-debug.
menu = defaultMenu(app, shell)
Create a default menu. See: electron-default-menu.
var defaultMenu = var Menu app shell = var menu = Menu
firstRun([opts])
Check if it's the first time the process is run. See: first-run.
fixPath()
Fix the $PATH on macOS when run from a GUI app. See: fix-path.
isDev()
Check if Electron is running in Development. See: electron-is-dev.
move()
Automatically move Electron apps to the Applications directory. See: electron-lets-move.
rootPath
Determine the root path to your project. Read-only value. See: app-root-path.
resolvePath(resource)
Determine the path of a resource relative to the application root. app-root-path.
shouldStart = squirrelStartup()
Default Squirrel.Windows event handler for your Electron apps. Returns a boolean. See: electron-squirrel-startup.