opencode
opencode copied to clipboard
[FEATURE]: Branded Windows installer (currently generic NSIS)
Feature hasn't been suggested before.
- [x] I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
@iamdavidhill
The Windows installer has several branding issues:
- Icon: Displays the default (ugly) NSIS icon instead of OpenCode's
- Installer UI: Missing branded header and sidebar images, making the installation experience look generic
-
Filename: Currently
opencode-desktop-windows-x64.exe— doesn't indicate it's an installer. Could be something likeOpenCode Desktop Installer.exe
Solution
1. Add NSIS configuration
Update packages/tauri/src-tauri/tauri.conf.json:
"bundle": {
// ... existing config
"windows": {
"nsis": {
"installerIcon": "icons/icon.ico",
"headerImage": "icons/nsis-header.bmp",
"sidebarImage": "icons/nsis-sidebar.bmp"
}
}
}
2. Rename installer output
The installer filename is controlled by the build/release process — needs investigation into where this is configured (likely CI workflow or Tauri bundler settings).
Assets Needed
| Asset | Format | Dimensions | Purpose |
|---|---|---|---|
installerIcon |
.ico |
- | Installer executable icon (already exists: icons/icon.ico) |
headerImage |
.bmp |
150px × 57px | Appears at the top of installer pages (except first page) |
sidebarImage |
.bmp |
164px × 314px | Appears on the Welcome and Finish pages |