mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-16 01:08:00 +12:00
Fixes for mac integration
This commit is contained in:
parent
f35e25ae57
commit
8535276166
1 changed files with 2 additions and 2 deletions
|
@ -73,14 +73,14 @@ public abstract class ExternalEditorType implements PrefsChoiceValue {
|
||||||
public static final ExternalEditorType TEXT_EDIT = new MacOsFullPathType("app.textEdit") {
|
public static final ExternalEditorType TEXT_EDIT = new MacOsFullPathType("app.textEdit") {
|
||||||
@Override
|
@Override
|
||||||
protected Path determinePath() {
|
protected Path determinePath() {
|
||||||
return Path.of("/Applications/TextEdit.app");
|
return Path.of("/System/Applications/TextEdit.app");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
public static final ExternalEditorType NOTEPADPP_MACOS = new MacOsFullPathType("app.notepad++") {
|
public static final ExternalEditorType NOTEPADPP_MACOS = new MacOsFullPathType("app.notepad++") {
|
||||||
@Override
|
@Override
|
||||||
protected Path determinePath() {
|
protected Path determinePath() {
|
||||||
return Path.of("/Applications/TextEdit.app");
|
return Path.of("/Applications/Notepad++.app");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue