Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions scripts/build-desktop-artifact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1620,6 +1620,22 @@ export const createBuildConfig = Effect.fn("createBuildConfig")(function* (
winConfig.azureSignOptions = yield* AzureTrustedSigningOptionsConfig;
}
buildConfig.win = winConfig;
// NSIS writes these schemes to the registry so the system browser can hand
// t3code:// OAuth callbacks to the app, mirroring the mac/linux protocol
// registrations above.
buildConfig.protocols = [
{
name: "T3 Turbo",
schemes: ["t3code", "t3code-dev"],
},
];
buildConfig.nsis = {
// "always" recreates the desktop shortcut on reinstall even when a
// previous install shipped without one.
createDesktopShortcut: "always",
createStartMenuShortcut: true,
shortcutName: "T3 Turbo",
};
}

return buildConfig;
Expand Down
Loading