Skip to content

Commit f2d70e3

Browse files
fix(companion): build native 64-bit NSIS installer
The NSIS installer was a 32-bit PE, causing $PROGRAMFILES to resolve to "Program Files (x86)" on 64-bit Windows. Adding "Target amd64-unicode" produces a native 64-bit installer where $PROGRAMFILES correctly points to "Program Files". Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3256570 commit f2d70e3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

companion/targets/windows/companion.nsi.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
Name "@PROJECT_NAME@ Companion @VERSION_FAMILY@"
1919
OutFile "companion-windows-@VERSION@.exe"
2020

21+
;Build a native 64-bit installer
22+
Target amd64-unicode
23+
2124
;Default installation folder
2225
InstallDir "$PROGRAMFILES\@PROJECT_NAME@\Companion @VERSION_FAMILY@"
2326

0 commit comments

Comments
 (0)