ammachado opened a new pull request, #1707: URL: https://github.com/apache/camel-website/pull/1707
## Summary - Syncs `static/install.ps1` and `static/install.sh` with the upstream Camel installer, incorporating the latest merged changes from apache/camel PR #25030. - Fixes intermittent "no Runspace available" errors in the PowerShell TLS certificate validation callback by replacing the scriptblock delegate with a compiled `CamelInstallCertValidator` type. - Resolves the `camel.bat` shim path via `%~dp0` at runtime instead of embedding an absolute install path (fixes failures on non-ASCII install paths). - Surfaces inner exception details when a download fails, instead of a bare "failed to download" message. - Clears `ServerCertificateValidationCallback` on exit, since it is process-wide static state. - Adds `static/install.sha256` with checksums for the synced scripts. ## Test plan - [ ] Verify `install.ps1` runs successfully on Windows PowerShell 5.1 with a custom CA cert path. - [ ] Verify `install.sh` still installs correctly via `curl | sh`. - [ ] Confirm checksums in `install.sha256` match the published script contents. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
