| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Signed-off-by: 1fanwang <1fannnw@gmail.com>
There was a problem hiding this comment.
The focused detection change correctly handles FreeBSD while preserving supported platform behavior.
Pull request overviewUpdates OS detection so unsupported systems no longer fall through to Windows installation logic.
Changes:
| File | Description |
|---|---|
| install.sh | Adds explicit Windows matching and unsupported-OS handling. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Sorry, something went wrong.
|
Superseded by #4762, which landed the same detection change. Closing. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Why
On FreeBSD, install.sh reports Windows detected but winget not found because every operating system other than macOS and Linux falls into the Windows branch. Copilot CLI does not publish a FreeBSD binary, so the installer should report the platform as unsupported.
What changed
The installer now treats Cygwin, MinGW, and MSYS as Windows. Other unknown systems fail with their actual uname -s value.
References
#3710
Testing
bash -n install.sh and git diff --check pass.