Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(desktop): restore missing Start Menu shortcut #7829

Mergeditsmeares(GitHub profile, opens in a new tab)merged 3 commits intomain fromrefs/pull/7829/headmerged by juliusmarminge View on GitHub

Showing 3 changed files with 18 additions and 2 deletions.

x
0 of 3 viewed, 3 left
10 additions and 0 deletionsapps/desktop/resources/installer.nshAdded
View file
@@ -0,0 +1,10 @@
+!macro customInstall
+ !ifndef DO_NOT_CREATE_START_MENU_SHORTCUT
+ ${IfNot} ${FileExists} "$newStartMenuLink"
+ !insertmacro createMenuDirectory
+ CreateShortCut "$newStartMenuLink" "$appExe" "" "$appExe" 0 "" "" "${APP_DESCRIPTION}"
+ ClearErrors
+ WinShell::SetLnkAUMI "$newStartMenuLink" "${APP_ID}"
+ ${EndIf}
+ !endif
+!macroend
4 additions and 1 deletionscripts/build-desktop-artifact.test.tsModified
View file
@@ -687,7 +687,10 @@
...DESKTOP_EXTRA_RESOURCES,
...WINDOWS_SERVER_EXTRA_RESOURCES,
]);
- assert.deepStrictEqual(win.nsis, { differentialPackage: true });
+ assert.deepStrictEqual(win.nsis, {
+ differentialPackage: true,
+ include: "apps/desktop/resources/installer.nsh",
+ });
assert.deepStrictEqual(WINDOWS_SERVER_ASAR_IGNORE_GLOBS, [
"**/node_modules/@cursor/sdk-*",
"**/node_modules/@cursor/sdk-*/**",
4 additions and 1 deletionscripts/build-desktop-artifact.tsModified
View file
@@ -2860,7 +2860,10 @@