Description
As the config utilities were developed keeping Unix FileSystem in mind. We need to add support for creating config files of yast
in the Windows File System. This issue was brought to the notice by @notafk-rajat in #28.
Hey @qascade , So I was going through readme.md to setup yast on my local environment. I got stuck at step 6 for a while so I had to do go run main.go
to run the program. So we might need to check into that too.
But still I'm not able to anything after that. .yast/setup
is not working
Also webtorrent-cli is not installing correctly
How are you planning to resolve on this issue?
First I would check which operating system, I am currently running yast on. Then accordingly I will choose a path for YAST_WORKDIR
defined in utils/constants.go
. Then, make changes to config functions.
Acceptance Criteria
- No behavioral changes should be observed while running
yast
on environments other than windows.
yast
should show the same behavior as other environments on windows.
TUI
should behave almost identically to its behavior in Unix environments, If this is not possible, we have to find alternatives or fallback accordingly.
Are you raising this issue under hacktoberfest?
Yes, I'm raising this issue under hacktoberfest 2022. This is a issue for experienced developer. You need experience of working with different environments. Have understanding of how all modules of yast
work internally and have knowledge of both Unix and
Windows File System APIs and how to work with both of them in Go.