launch-editor
Advanced tools
Comparing version 2.6.1 to 2.7.0
@@ -18,2 +18,3 @@ module.exports = { | ||
'/Applications/VSCodium.app/Contents/MacOS/Electron': 'codium', | ||
'/Applications/Cursor.app/Contents/MacOS/Cursor': 'cursor', | ||
'/Applications/AppCode.app/Contents/MacOS/appcode': | ||
@@ -25,2 +26,6 @@ '/Applications/AppCode.app/Contents/MacOS/appcode', | ||
'/Applications/IntelliJ IDEA.app/Contents/MacOS/idea', | ||
'/Applications/IntelliJ IDEA Ultimate.app/Contents/MacOS/idea': | ||
'/Applications/IntelliJ IDEA Ultimate.app/Contents/MacOS/idea', | ||
'/Applications/IntelliJ IDEA Community Edition.app/Contents/MacOS/idea': | ||
'/Applications/IntelliJ IDEA Community Edition.app/Contents/MacOS/idea', | ||
'/Applications/PhpStorm.app/Contents/MacOS/phpstorm': | ||
@@ -27,0 +32,0 @@ '/Applications/PhpStorm.app/Contents/MacOS/phpstorm', |
@@ -41,2 +41,3 @@ const path = require('path') | ||
case 'codium': | ||
case 'cursor': | ||
case 'vscodium': | ||
@@ -43,0 +44,0 @@ case 'VSCodium': |
@@ -40,3 +40,3 @@ const path = require('path') | ||
// Find editor by exact match. | ||
if (output.indexOf(processName) !== -1) { | ||
if (processList.includes(processName)) { | ||
return [COMMON_EDITORS_OSX[processName]] | ||
@@ -43,0 +43,0 @@ } |
{ | ||
"name": "launch-editor", | ||
"version": "2.6.1", | ||
"version": "2.7.0", | ||
"description": "launch editor from node.js", | ||
@@ -5,0 +5,0 @@ "main": "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
14519
375