mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-04 03:31:08 +12:00
Fix small typos for mac integrations
This commit is contained in:
parent
be541d92aa
commit
c7ec335d8f
2 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ public abstract class ExternalApplicationType implements PrefsChoiceValue {
|
||||||
try (ShellProcessControl pc = ShellStore.local().create().start()) {
|
try (ShellProcessControl pc = ShellStore.local().create().start()) {
|
||||||
try (var c = pc.command(String.format(
|
try (var c = pc.command(String.format(
|
||||||
"/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister " +
|
"/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))
|
applicationName, applicationName))
|
||||||
.start()) {
|
.start()) {
|
||||||
var path = c.readOnlyStdout();
|
var path = c.readOnlyStdout();
|
||||||
|
|
|
@ -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 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() {
|
public static final ExternalEditorType CUSTOM = new ExternalEditorType() {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue