Fix small typos for mac integrations

This commit is contained in:
crschnick 2023-02-04 09:25:57 +00:00
parent 0ee12c8e5a
commit 84931ed6ad
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ public abstract class ExternalApplicationType implements PrefsChoiceValue {
try (ShellProcessControl pc = ShellStore.local().create().start()) {
try (var c = pc.command(String.format(
"/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister " +
"-dump | grep -o \"/.*%s.app\" | grep -v -E \"Caches|TimeMachine|Temporary|/Volumes/%s\" | uniq)'",
"-dump | grep -o \"/.*%s.app\" | grep -v -E \"Caches|TimeMachine|Temporary|/Volumes/%s\" | uniq",
applicationName, applicationName))
.start()) {
var path = c.readOnlyStdout();

View file

@ -79,7 +79,7 @@ public interface ExternalEditorType extends PrefsChoiceValue {
public static final ExternalEditorType SUBLIME_MACOS = new MacOsEditor("app.sublime", "Sublime Text");
public static final ExternalEditorType VSCODE_MACOS = new MacOsEditor("app.vscode", "VSCode");
public static final ExternalEditorType VSCODE_MACOS = new MacOsEditor("app.vscode", "Visual Studio Code");
public static final ExternalEditorType CUSTOM = new ExternalEditorType() {