nelsam / vidar

vidar is a highly experimental Go editor, written in Go, using gxui
The Unlicense
50 stars 7 forks source link

Update windows paths #166

Closed Kvaz1r closed 5 years ago

Kvaz1r commented 5 years ago

For some reason filepath.Join doesn't work as expected with os.Getenv("SYSTEMDRIVE") at least for Win10. I'm not sure why I didn't found the issue when tested before. As an alternative can use usual path.Join instead of path/filepath.

Type

Tests

I have tested locally against:

I have included automated tests:

nelsam commented 5 years ago

Looks good to me.