-
Notifications
You must be signed in to change notification settings - Fork 42
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
Windows install script error #109
Comments
Potential solutionThe plan to solve the bug involves addressing the path construction issue in the PowerShell script and providing guidance on setting the execution policy. The error arises because the What is causing this bug?The bug is caused by the incorrect usage of the CodeHere are the implementation details and code snippets to fix the bug:
How to replicate the bugTo replicate the bug, follow these steps:
By following these steps, you should encounter the same error as reported in the ticket. By implementing the suggested fixes, the script should run without issues, and users will be informed about setting the execution policy to avoid permission-related errors. Click here to create a Pull Request with the proposed solution Files used for this task: Changes on scripts/install_yek.ps1AnalysisThe issue reported by the user is related to the construction of the file path using the Identified Problems
Suggested Fixes
ConclusionThe script should be updated to fix the path construction issue by using direct string interpolation instead of This comment was generated by AI. Information provided may be incorrect. Current plan usage: 53% Have feedback or need help? |
Thank you for reporting the bus. I wonder why this is not failing in my post publish script here. https://github.com/bodo-run/yek/blob/main/.github/workflows/test-install.yml Since I don't have a Windows machine, I can't really test this out. Would you be able to help me with debugging this? |
Happy to help, my theory would be that GHA windows-latest is optimized to not have too much friction. |
Hey, yek worked great on my Mac, so I also wanted to put it on my Win11 system, I ran into this small issue:
Line 69 in yek.ps1 should be:
Instead of:
On a fresh Win 11 install I got:
After the adjustment the install went through without issues. You might also want to specify users should run
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
to be able to run the script.The text was updated successfully, but these errors were encountered: