WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: improve shell install script robustness and error handling
- Add error handling when curl fails to download the binary, logging a clear error message
- Refactor fetching the latest release version to avoid multiple curl calls and add error handling for failed requests
- Simplify the process of setting the VERSION variable, removing redundant error checks
- Minor adjustment in config file not found message for improved readability
- Merge shell cases for path addition into a single pattern for zsh, bash, ash, and sh for cleaner code
Signed-off-by: appleboy <[email protected]>
0 commit comments