Commit 4bf2e84
committed
feat: enhance CLI with interactive mode, better UX, and robust error handling
- Integrated `clap` for structured argument parsing and `dialoguer` for an interactive fallback mode when arguments are missing.
- Added `anyhow` for contextual error handling and `colored` for improved terminal output (success, warnings, errors).
- Enhanced automatic detection for app version and public key, supporting both project root and `src-tauri` directory structures.
- Added support for both Tauri 1.0 (`tauri.updater.pubkey`) and 2.0 (`plugins.updater.pubkey`) configuration paths.
- Fixed a bug in `src-tauri/Cargo.toml` parsing and restored signature validation for non-DMG platforms.
- Added a guard to prevent generating an empty `latest.json` if no valid platforms are found.
- Bumped version to 0.4.0 and updated README.md and CHANGELOG.md to reflect new features.1 parent ca480cd commit 4bf2e84
5 files changed
Lines changed: 763 additions & 242 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
8 | 21 | | |
9 | 22 | | |
10 | 23 | | |
| |||
0 commit comments