agent-orchestrator/frontend/makers
Deepak Modi 60ed6610be
fix(installer): point Windows NSIS shortcut at the real binary (#2414) (#2467)
electron-builder derives the Windows exe name -- and thus the Start menu
shortcut's TargetPath and IconLocation -- from win.executableName, falling
back to productName when it is unset. The NSIS maker only forwarded
productName ("Agent Orchestrator"), so electron-builder generated a shortcut
targeting "Agent Orchestrator.exe" while Forge's packager actually produced
"agent-orchestrator.exe". The shortcut pointed at a file that does not exist:
clicking it silently did nothing, and its icon fell back to a generic glyph.

Forward win.executableName ("agent-orchestrator") so the shortcut targets the
real binary, and hoist the name into a single EXECUTABLE_NAME constant shared
by the packager and the NSIS/deb makers so they cannot drift apart again.

Verified on Windows 11 by building the installer and silent-installing it: the
Start menu shortcut now targets
%LOCALAPPDATA%\Programs\agent-orchestrator\agent-orchestrator.exe with
IconLocation set to the same exe, and the app launches.
2026-07-08 13:14:36 +05:30
..
maker-appimage.ts feat(cli): ao start fetch/open for Windows and Linux (T6/T7) (#2204) 2026-06-26 20:50:30 +05:30
maker-nsis.test.ts fix(installer): point Windows NSIS shortcut at the real binary (#2414) (#2467) 2026-07-08 13:14:36 +05:30
maker-nsis.ts fix(installer): point Windows NSIS shortcut at the real binary (#2414) (#2467) 2026-07-08 13:14:36 +05:30