mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-04 11:50:44 +00:00
Fixes for mac integration
This commit is contained in:
@@ -73,14 +73,14 @@ public abstract class ExternalEditorType implements PrefsChoiceValue {
|
||||
public static final ExternalEditorType TEXT_EDIT = new MacOsFullPathType("app.textEdit") {
|
||||
@Override
|
||||
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++") {
|
||||
@Override
|
||||
protected Path determinePath() {
|
||||
return Path.of("/Applications/TextEdit.app");
|
||||
return Path.of("/Applications/Notepad++.app");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user