Skip to content

Commit 621cfe5

Browse files
michael-borckclaude
andcommitted
Fix electron-builder packaging errors
🔧 **Package.json Fixes:** - Add required description for electron-builder - Add author information with email for Linux .deb packages - Add Linux maintainer field to fix .deb build error - Remove icon references (using default icons for now) 📁 **Assets Directory:** - Create assets/ directory structure - Add README.md with icon requirements and guidelines - Prepare for future custom app icons ✅ **Build Fixes:** - Resolves "Please specify author 'email'" error - Fixes Linux .deb package maintainer requirement - Removes missing icon file warnings - Maintains all platform build targets This should resolve the CI/CD build failures and allow successful cross-platform packaging. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 84bf089 commit 621cfe5

2 files changed

Lines changed: 43 additions & 6 deletions

File tree

assets/README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# App Icons
2+
3+
This directory should contain the application icons for different platforms:
4+
5+
## Required Icons
6+
7+
- `icon.icns` - macOS icon (512x512 px minimum)
8+
- `icon.ico` - Windows icon (256x256 px recommended)
9+
- `icon.png` - Linux icon (512x512 px recommended)
10+
11+
## Icon Requirements
12+
13+
- **Format**: Use original vector graphics (SVG) or high-resolution PNG
14+
- **Size**: Minimum 512x512 pixels for best quality across all platforms
15+
- **Style**: Simple, recognizable design that works at small sizes
16+
- **Background**: Transparent background preferred
17+
18+
## Tools for Icon Generation
19+
20+
- [Electron Icon Maker](https://www.electron.build/icons) - Official tool
21+
- [App Icon Generator](https://appicon.co/) - Web-based generator
22+
- [IconKitchen](https://icon.kitchen/) - Material Design icons
23+
24+
## Placeholder Icons
25+
26+
Currently using default Electron icons. Replace these files to customize the app appearance.
27+
28+
## Design Guidelines
29+
30+
Consider these design principles:
31+
- Clear and simple at 16x16 pixels
32+
- Consistent with platform conventions
33+
- Represents education/learning theme
34+
- Readable app name if included

package.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
{
22
"name": "study-buddy",
33
"version": "0.1.0",
4+
"description": "An open-source AI personal tutor that runs locally on your computer",
5+
"author": {
6+
"name": "Study Buddy Contributors",
7+
"email": "noreply@studybuddy.dev"
8+
},
49
"private": true,
510
"main": "main.js",
611
"homepage": "./",
@@ -71,8 +76,7 @@
7176
"target": "dmg",
7277
"arch": ["x64", "arm64"]
7378
}
74-
],
75-
"icon": "assets/icon.icns"
79+
]
7680
},
7781
"win": {
7882
"target": [
@@ -84,8 +88,7 @@
8488
"target": "portable",
8589
"arch": ["x64"]
8690
}
87-
],
88-
"icon": "assets/icon.ico"
91+
]
8992
},
9093
"linux": {
9194
"target": [
@@ -98,8 +101,8 @@
98101
"arch": ["x64"]
99102
}
100103
],
101-
"icon": "assets/icon.png",
102-
"category": "Education"
104+
"category": "Education",
105+
"maintainer": "Study Buddy Contributors <noreply@studybuddy.dev>"
103106
},
104107
"nsis": {
105108
"oneClick": false,

0 commit comments

Comments
 (0)