electron-squirrel-startup
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -18,11 +18,10 @@ var path = require('path'); | ||
debug('processing squirrel command `%s`', cmd); | ||
var target = path.basename(process.execPath); | ||
var target = '"' + path.basename(process.execPath) + '"'; | ||
if (cmd === '--squirrel-install' || cmd === '--squirrel-updated') { | ||
run(['--createShortcut', target], app.quit); | ||
run(['--createShortcut=' + target + ''], app.quit); | ||
return true; | ||
} | ||
if (cmd === '--squirrel-uninstall') { | ||
run(['--removeShortcut', target], app.quit); | ||
run(['--removeShortcut=' + target + ''], app.quit); | ||
return true; | ||
@@ -29,0 +28,0 @@ } |
{ | ||
"name": "electron-squirrel-startup", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Default Squirrel.Windows event handler for your Electron apps.", | ||
@@ -5,0 +5,0 @@ "author": "Lucas Hrabovsky <lucas@mongodb.com> (http://imlucas.com)", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18885