![npm version](https://badge.fury.io/js/electron-lets-move.svg)
Electron LetsMove
A module that offers to automatically move your Electron app to the Applications
folder if opened from another location. Inspired by LetsMove for MacOS.
![Electron LetsMove](https://cloud.githubusercontent.com/assets/380914/21077515/323c21ca-bf03-11e6-83bb-3ffc8c7d926c.png)
Requirements
This module is designed to be used within Electron on OSX.
Installation
npm install --save electron-lets-move
Usage
You should call the moveToApplications
method as soon as possible after the app
ready event in the main process. Ideally before the user has any chance to interact
with the application.
const {app} = require('electron');
const {moveToApplications} = require('electron-lets-move');
app.on('ready', () => {
moveToApplications();
});
License
Electron LetsMove is released under the MIT license. It is simple and easy to understand and places almost no restrictions on what you can do with it.
More Information