The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 23, 01:45 UTC
fix(desktop): restore missing Start Menu shortcut (#7829)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Aras committed
Oct 19, 2026 at 22:10 UTC
5cf38542aff1d92b5ffc97b8345ef99ac55906d6
3 files changed
+18
-2
apps/desktop/resources/installer.nsh
new
+10
@@ -0,0 +1,10 @@
1
+!macro customInstall
2
+ !ifndef DO_NOT_CREATE_START_MENU_SHORTCUT
3
+ ${IfNot} ${FileExists} "$newStartMenuLink"
4
+ !insertmacro createMenuDirectory
5
+ CreateShortCut "$newStartMenuLink" "$appExe" "" "$appExe" 0 "" "" "${APP_DESCRIPTION}"
6
+ ClearErrors
7
+ WinShell::SetLnkAUMI "$newStartMenuLink" "${APP_ID}"
8
+ ${EndIf}
9
+ !endif
10
+!macroend
scripts/build-desktop-artifact.test.ts
+4
-1
@@ -687,7 +687,10 @@ it.layer(NodeServices.layer)("build-desktop-artifact", (it) => {
687
...DESKTOP_EXTRA_RESOURCES,
688
...WINDOWS_SERVER_EXTRA_RESOURCES,
689
]);
690
- assert.deepStrictEqual(win.nsis, { differentialPackage: true });
690
+ assert.deepStrictEqual(win.nsis, {
691
+ differentialPackage: true,
692
+ include: "apps/desktop/resources/installer.nsh",
693
+ });
694
assert.deepStrictEqual(WINDOWS_SERVER_ASAR_IGNORE_GLOBS, [
695
"**/node_modules/@cursor/sdk-*",
696
"**/node_modules/@cursor/sdk-*/**",
scripts/build-desktop-artifact.ts
+4
-1
@@ -2860,7 +2860,10 @@ export const createBuildConfig = Effect.fn("createBuildConfig")(function* (
2860
2861
if (platform === "win") {
2862
buildConfig.npmRebuild = false;
2863
- buildConfig.nsis = { differentialPackage: true };
2863
+ buildConfig.nsis = {
2864
+ differentialPackage: true,
2865
+ include: "apps/desktop/resources/installer.nsh",
2866
+ };
2867
const winConfig: Record<string, unknown> = {
2868
target: [target],
2869
icon: "icon.ico",