[host] installer: build 64-bit NSIS installers

The host is a 64-bit application, so requiring 64-bit Windows isn't an
issue. However, not using 32-bit installers has an advantage: we don't
need to require WoW64.
This commit is contained in:
Quantum 2021-09-21 07:31:59 -04:00 committed by Geoffrey McRae
parent df4a964496
commit bc65de5987
2 changed files with 6 additions and 2 deletions

View File

@ -127,7 +127,7 @@ jobs:
- name: Build Windows host installer - name: Build Windows host installer
run: | run: |
cd host\build cd host\build
makensis platform\Windows\installer.nsi makensis -DBUILD_32BIT platform\Windows\installer.nsi
obs: obs:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -33,6 +33,10 @@ ShowInstDetails "show"
ShowUninstDetails "show" ShowUninstDetails "show"
InstallDir "$PROGRAMFILES64\Looking Glass (host)" InstallDir "$PROGRAMFILES64\Looking Glass (host)"
!ifndef BUILD_32BIT
Target AMD64-Unicode
!endif
!define MUI_ICON "icon.ico" !define MUI_ICON "icon.ico"
!define MUI_UNICON "icon.ico" !define MUI_UNICON "icon.ico"
!define MUI_LICENSEPAGE_BUTTON "Agree" !define MUI_LICENSEPAGE_BUTTON "Agree"