feat: improve script installation UX and platform filtering (v0.5.2)
Improved
- Script installation now shows "Command will be available as:" message
- Consistent with package installation behavior
- Applied to both direct script installations and bucket scripts
- Shows command name that will be used to invoke the script
Changed
- Script filtering in list --all command
- Added is_os_compatible() method for basic OS compatibility checking
- Scripts filtered by native OS support (no interpreter execution)
- Significantly faster performance (no external command execution)
- Consistent with package filtering (platform-based, not runtime-based)
- Windows: Shows PowerShell/Batch/Python scripts only
- Unix-like: Shows Bash/Python scripts only
Technical
- New ScriptType::is_os_compatible() method for compile-time checks
- list --all uses is_os_compatible() instead of is_supported_on_current_platform()
- More efficient list command with no command execution overhead
Version
- Bumped version to 0.5.2 in Cargo.toml
- Updated CHANGELOG.md with v0.5.2 changes
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com
📦 下載 / Downloads
請從下方選擇適合您系統的版本下載。
Please download the appropriate version for your system from below.
🔒 檔案校驗 / File Verification
使用 SHA256SUMS 檔案驗證下載的檔案完整性。
Use the SHA256SUMS file to verify the integrity of downloaded files.
📝 自動生成的變更日誌 / Auto-generated Changelog
Full Changelog: v0.5.1...v0.5.2