Commit 991c9eb
feat: (GUI) Dynamic app metadata configuration from package.json (#27)
* feat: add dynamic app configuration and macOS About panel support
- Set app name dynamically from package.json (productName or name field)
- Add About panel options with version, author, and homepage from package.json
- Configure app name before app ready for proper macOS menu bar display
- Centralize all app metadata in package.json for easier maintenance
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: replace require() with ES6 import for package.json in main.ts
Resolves @typescript-eslint/no-var-requires error by changing
`const packageJson = require('../package.json');` to
`import packageJson from '../package.json';`
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: resolve TypeScript compilation errors in main.ts
- Remove non-existent packageJson.productName reference on line 11
- Fix author field type handling on line 262 to properly handle string or object types
These fixes resolve TypeScript errors that were preventing successful compilation.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent fdd2a55 commit 991c9eb
1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
8 | 14 | | |
9 | 15 | | |
10 | 16 | | |
| |||
246 | 252 | | |
247 | 253 | | |
248 | 254 | | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
249 | 268 | | |
250 | 269 | | |
251 | 270 | | |
| |||
0 commit comments