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
Improve platform detection and handling in install.sh
Refactor `select_archive_format` to use a case statement for better
readability and extend functionality for more robust platform detection.
Ensure `sudo` is correctly handled only when required in the main
installation block.
Changes:
- Use case statement in `select_archive_format` for clarity
- Add a root check before using `sudo` in the installation block
- Maintain compatibility for both `tar` and `unzip` commands
0 commit comments