Skip to content

Commit 00ea9fd

Browse files
committed
fix: align forge.config.ts signing with original dyad config exactly
1 parent a3bec84 commit 00ea9fd

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

forge.config.ts

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,18 @@ const config: ForgeConfig = {
6464
icon: "./assets/icon/logo",
6565

6666
executableName: "alifullstack",
67-
osxSign: {
68-
identity: process.env.APPLE_TEAM_ID,
69-
},
70-
osxNotarize: {
71-
appleId: process.env.APPLE_ID as string,
72-
appleIdPassword: process.env.APPLE_PASSWORD as string,
73-
teamId: process.env.APPLE_TEAM_ID as string,
74-
},
67+
osxSign: isEndToEndTestBuild
68+
? undefined
69+
: {
70+
identity: process.env.APPLE_TEAM_ID,
71+
},
72+
osxNotarize: isEndToEndTestBuild
73+
? undefined
74+
: {
75+
appleId: process.env.APPLE_ID!,
76+
appleIdPassword: process.env.APPLE_PASSWORD!,
77+
teamId: process.env.APPLE_TEAM_ID!,
78+
},
7579
asar: true,
7680
ignore,
7781
// ignore: [/node_modules\/(?!(better-sqlite3|bindings|file-uri-to-path)\/)/],

0 commit comments

Comments
 (0)