naggie / dstask

Git powered terminal-based todo/note manager -- markdown note page per task. Single binary!
https://calbryant.uk/blog/dstask-a-taskwarrior-alternative/
MIT License
793 stars 47 forks source link

Windows support #147

Closed yerlaser closed 2 years ago

yerlaser commented 3 years ago

Do you plan to release a Windows version at some point? If not, what are the blockers?

dontlaugh commented 3 years ago

I think someone with a Windows machine needs to test the behavior on Windows Subsystem for Linux (WSL). If we're note using cgo, it should build fine.

I think adopting a library that handles Windows, Mac, BSDs, and Linux "user config dirs" might be the most elegant way to support it see #49 . The dstask database is a directory tree, and those are obviously different on Windows. The Go std library does have the filepath module, however, which can paper over the path separator differences.

yerlaser commented 3 years ago

WSL will almost surely work, however, the original Windows support would be ideal. But, yes, if you use cgo libraries those will likely be blockers. Let's keep this issue open, maybe someone will have an idea at some point on how to move forward.

naggie commented 2 years ago

The renderer would have to support the windows console API or a print wrapper which could be a pain. Probably not worth it now there's a nicer-than-cygwin-or-git-bash environment, WSL, available.

naggie commented 2 years ago

Closing but please re-open if tested with WSL or you have thoughts on the implementation for native windows console support.