Commit a3453a2
fix(menu): stop About panel from showing a duplicated version string
macOS's native About panel falls back to Info.plist for any AboutMetadata
key that's left unset, and Tauri writes CFBundleShortVersionString and
CFBundleVersion to the same value — so `.about(None)` rendered
"Version 0.21.0 (0.21.0)". Pass an explicit empty short_version to
blank out the parenthetical build number instead of falling back to
the duplicate.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent afe89ec commit a3453a2
1 file changed
Lines changed: 13 additions & 2 deletions
File tree
- src-tauri/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
18 | 29 | | |
19 | 30 | | |
20 | 31 | | |
| |||
35 | 46 | | |
36 | 47 | | |
37 | 48 | | |
38 | | - | |
| 49 | + | |
39 | 50 | | |
40 | 51 | | |
41 | 52 | | |
| |||
0 commit comments