Socket
Socket
Sign inDemoInstall

auto-launch

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auto-launch - npm Package Compare versions

Comparing version 5.0.3 to 5.0.5

8

dist/index.js

@@ -63,5 +63,7 @@ var AutoLaunch, isPathAbsolute,

AutoLaunch.prototype.fixMacExecPath = function(path) {
AutoLaunch.prototype.fixMacExecPath = function(path, macOptions) {
path = path.replace(/(^.+?[^\/]+?\.app)\/Contents\/(Frameworks\/((\1|[^\/]+?) Helper)\.app\/Contents\/MacOS\/\3|MacOS\/Electron)/, '$1');
path = path.replace(/\.app\/Contents\/MacOS\/[^\/]*$/, '.app');
if (!macOptions.useLaunchAgent) {
path = path.replace(/\.app\/Contents\/MacOS\/[^\/]*$/, '.app');
}
return path;

@@ -74,3 +76,3 @@ };

if (/darwin/.test(process.platform)) {
this.opts.appPath = this.fixMacExecPath(this.opts.appPath);
this.opts.appPath = this.fixMacExecPath(this.opts.appPath, this.opts.mac);
}

@@ -77,0 +79,0 @@ if (this.opts.appPath.indexOf('/') !== -1) {

{
"name": "auto-launch",
"version": "5.0.3",
"version": "5.0.5",
"description": "Launch node applications or executables at login (Mac, Windows, and Linux)",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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