auto-launch
Advanced tools
Comparing version 0.1.12 to 0.1.13
@@ -33,6 +33,6 @@ var AutoLaunch, | ||
} | ||
if (this.opts.appPath.indexOf('/' !== -1)) { | ||
if (this.opts.appPath.indexOf('/') !== -1) { | ||
tempPath = this.opts.appPath.split('/'); | ||
this.opts.appName = tempPath[tempPath.length - 1]; | ||
} else if (this.opts.appPath.indexOf('\\' !== -1)) { | ||
} else if (this.opts.appPath.indexOf('\\') !== -1) { | ||
tempPath = this.opts.appPath.split('\\'); | ||
@@ -39,0 +39,0 @@ this.opts.appName = tempPath[tempPath.length - 1]; |
{ | ||
"name": "auto-launch", | ||
"version": "0.1.12", | ||
"version": "0.1.13", | ||
"description": "Launch node-webkit apps at login (mac & windows)", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
6220