New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

electron-lets-move

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-lets-move - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "electron-lets-move",
"main": "src/index.js",
"version": "0.0.1",
"version": "0.0.2",
"license": "MIT",

@@ -6,0 +6,0 @@ "repository": "tommoor/electron-lets-move",

@@ -0,1 +1,3 @@

[![npm version](https://badge.fury.io/js/electron-lets-move.svg)](https://badge.fury.io/js/electron-lets-move)
# Electron LetsMove

@@ -14,6 +16,12 @@

## 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.
ready event in the main process. Ideally before the user has any chance to interact
with the application.

@@ -20,0 +28,0 @@ ```javascript

@@ -70,3 +70,3 @@ const { app, dialog } = require('electron');

type: 'question',
buttons: ['Do Not Move', 'Move to Applications'],
buttons: ['Move to Applications', 'Do Not Move'],
message: 'Move to Applications folder?',

@@ -77,3 +77,3 @@ detail,

// user chose to do nothing
if (chosen === 0) return;
if (chosen !== 0) return;

@@ -80,0 +80,0 @@ const moved = (error) => {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc