Commit 189184f
committed
feat(desktop): show real version in top-bar badge
Vite `define` injects __APP_VERSION__ from apps/desktop/package.json
into both main and renderer at build time; the Wordmark badge now
renders 'v0.1.2' instead of the static 'pre-alpha' / '预览版' i18n
string. The i18n key stays in place for anyone who still references
it from elsewhere.
Also re-pins productName to 'Open CoDesign' (artifact filenames remain
pinned to the open-codesign slug) and updates the macOS install hint
path to /Applications/Open CoDesign.app with a parenthetical for the
legacy 0.1.x bundle path.1 parent f23655b commit 189184f
4 files changed
Lines changed: 11 additions & 2 deletions
File tree
- apps/desktop
- src/renderer/src
- components
- website/.vitepress/theme
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
9 | 13 | | |
| |||
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
0 commit comments