Commit 8cc0b96
committed
feat(cli): add per-platform npm scripts and redesign Go CLI v3.0
Add granular npm scripts for building each native target from root:
- desktop:build:{deb,rpm,appimage,nsis,msi,dmg} for individual targets
- desktop:build:{linux,win,mac} for platform groups
- desktop:install:deb / desktop:uninstall for package management
- web:dev for Vite-only frontend development
- Fix desktop:dev to use cross-platform `tauri dev` instead of PowerShell
Redesign Go CLI (v2.0 -> v3.0):
- Restructure menu with section headers (Development, Build, Manage, Tools, Links)
- Add Build Linux/Windows/macOS submenus with all Tauri bundle targets
- Cross-platform URL opening (xdg-open/open/start)
- Cross-platform uninstall support (dpkg on Linux, rm on macOS)
- Fix Install/Reinstall build picker views (were broken - missing view cases)
- Fix findBuilds WalkDir callback (continue -> return nil)
- Extract findProjectRoot helper for reliable path resolution
- Widen window to accommodate longer menu items
https://claude.ai/code/session_01TUaJWE6Vj5X15E835GZnJg1 parent 377d6d0 commit 8cc0b96
File tree
6 files changed
+223
-180
lines changed- tools/dora-cli
6 files changed
+223
-180
lines changedBinary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
26 | 37 | | |
27 | 38 | | |
28 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments