Commit 5e0c33d
committed
Improve About dialog version detection for different build types
🔧 Version Detection Improvements:
- Enhanced buildNumber detection to distinguish between local and GitHub Actions builds
- Local builds: CFBundleVersion is 7-char git hash (alphanumeric)
- GitHub Actions builds: CFBundleVersion is build number (numeric)
- Added logic to detect build type based on CFBundleVersion format
📱 About Dialog Enhancements:
- Version display now consistent across build types
- Build number shows appropriate value for each build type
- Git hash always shows first 7 characters for readability
- Better handling of different Info.plist formats
This ensures About dialog shows correct information for both local development builds and GitHub Actions releases.1 parent c6ccbb5 commit 5e0c33d
2 files changed
Lines changed: 12 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
85 | 90 | | |
86 | 91 | | |
87 | 92 | | |
88 | 93 | | |
89 | 94 | | |
90 | | - | |
91 | | - | |
92 | 95 | | |
| 96 | + | |
93 | 97 | | |
94 | 98 | | |
95 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments