env-editor
Advanced tools
Comparing version 0.4.1 to 0.4.2
17
index.js
@@ -112,2 +112,17 @@ 'use strict'; | ||
keywords: [] | ||
}, | ||
{ | ||
id: 'android-studio', | ||
name: 'Android Studio', | ||
binary: 'studio', | ||
isTerminalEditor: false, | ||
paths: [ | ||
'/Applications/Android Studio.app/Contents/MacOS/studio', | ||
'/usr/local/Android/android-studio/bin/studio.sh', | ||
'C:\\Program Files (x86)\\Android\\android-studio\\bin\\studio.exe', | ||
'C:\\Program Files\\Android\\android-studio\\bin\\studio64.exe' | ||
], | ||
keywords: [ | ||
'studio' | ||
] | ||
} | ||
@@ -133,3 +148,3 @@ ]; | ||
for (const editorPath of editor.paths) { | ||
if (path.normalize(needle) === path.normalize(editorPath)) { | ||
if (path.normalize(needle) === path.normalize(editorPath.toLowerCase())) { | ||
return editor; | ||
@@ -136,0 +151,0 @@ } |
{ | ||
"name": "env-editor", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "Get metadata on the default editor or a specific editor", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -1,2 +0,2 @@ | ||
# env-editor [![Build Status](https://travis-ci.org/sindresorhus/env-editor.svg?branch=master)](https://travis-ci.org/sindresorhus/env-editor) | ||
# env-editor | ||
@@ -20,2 +20,3 @@ > Get metadata on the default editor or a specific editor | ||
- GNU Emacs | ||
- Android Studio | ||
@@ -22,0 +23,0 @@ |
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
8469
248
104