Skip to content

Commit 2561b93

Browse files
committed
fix release config: notarize, win icon, homepage
1 parent 2410758 commit 2561b93

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

apps/code/electron-builder.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const config: Configuration = {
6868
extendInfo: {
6969
CFBundleIconName: "Icon",
7070
},
71-
notarize: skipNotarize ? false : { teamId: process.env.APPLE_TEAM_ID },
71+
notarize: !skipNotarize,
7272
},
7373

7474
dmg: {
@@ -88,7 +88,9 @@ const config: Configuration = {
8888
target: ["nsis", "squirrel"],
8989
// biome-ignore lint/suspicious/noTemplateCurlyInString: electron-builder interpolation tokens, not JS template literals
9090
artifactName: "PostHog-Code-${version}-${arch}-win.${ext}",
91-
icon: "build/app-icon.ico",
91+
// electron-builder generates the multi-size .ico from this 1024px PNG; a real
92+
// .ico must be >=256px and the committed app-icon.ico is only 32px.
93+
icon: "build/app-icon.png",
9294
},
9395

9496
nsis: {

apps/code/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@posthog/code",
33
"version": "0.0.0-dev",
44
"description": "PostHog Code - desktop task manager",
5+
"homepage": "https://posthog.com",
56
"main": ".vite/build/bootstrap.js",
67
"versionHash": "dynamic",
78
"engines": {

0 commit comments

Comments
 (0)