Initial groundwork for native sync support

This commit is contained in:
2024-05-11 20:52:38 -04:00
parent db5f3ec7f4
commit 570e257f08
5 changed files with 27 additions and 39 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ func GenUpdate(targetLocation string, hidePassword bool) {
func editNote(baseNote []string) ([]string, bool) {
tempFile := backend.CreateTempFile()
defer os.Remove(tempFile.Name())
editor := backend.ReadConfig([]string{"textEditor"})[0]
editor := backend.ReadConfig([]string{"textEditor"}, "")[0]
// write baseNote to tempFile (if it is not empty)
if len(baseNote) > 0 {