heyman / heynote

A dedicated scratchpad for developers
https://heynote.com
Other
3.87k stars 194 forks source link

Resolve ~ to homedir #138

Closed joshblum closed 8 months ago

joshblum commented 8 months ago

Resurrecting part of https://github.com/heyman/heynote/pull/58 to resolve a path like ~/Downloads to /Users/username/Downloads. Otherwise the path is written to the current directory. This is more of a belt and suspenders fix since the file dialog does this by default, but accounts for a user manually changing the config (or having done so before the dialog was release).

heyman commented 8 months ago

Thanks!