-
Notifications
You must be signed in to change notification settings - Fork 7
fix: Add windows support #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
zhxiaoyu
commented
Jul 18, 2025
- Use commands through cmd.exe /C in Windows to ensures environment variables are loaded automatically
- Explicitly specify bash as shell for all runner because powershell doesn't support the && operator
- Handle the difference between "\n" and "\r\n" on Linux and Windows
- Handle the difference between path symbols on Linux and Windows
…d add Windows support to the CI workflow
|
@zhxiaoyu thank you very much for this. I'd like to ask you one last thing before we merge this in: Does this solution work on windows? If so, I think it can also help us avoid any required |
Hi @Wulf , this works on windows by my test. |
|
Is there any plan to release this or does it need more work? |
|
Hey @thespooler, It looks good to me, I was just hoping we could attempt something like this from the link above: It’ll make the code much easier to read and maintain instead of having to branch so much. If someone can test this, it would be wonderful, especially for future devs jumping into the codebase. Otherwise, I might have to merge this in as-is. Moreover:
|
Hi @Wulf , I have modified it as this method. |
|
I did try @zhxiaoyu branch and it does work on Windows, no issues. |
Hi @thespooler , could you provide the detailed error information? |
|
It fails on normal_usage_test. |
|
Have you installed npm packages for examples & tests like this?
|
|
You got it... All good now, ✅ all tests pass. |