diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aae616f8..cc9b4e8d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -127,7 +127,7 @@ jobs: - name: Build Windows host installer run: | cd host\build - makensis platform\Windows\installer.nsi + makensis -DBUILD_32BIT platform\Windows\installer.nsi obs: runs-on: ubuntu-latest diff --git a/host/platform/Windows/installer.nsi b/host/platform/Windows/installer.nsi index 505501be..b7e318e8 100644 --- a/host/platform/Windows/installer.nsi +++ b/host/platform/Windows/installer.nsi @@ -26,13 +26,17 @@ ;Settings Name "Looking Glass (host)" -OutFile "looking-glass-host-setup.exe" +OutFile "looking-glass-host-setup.exe" Unicode true RequestExecutionLevel admin ShowInstDetails "show" ShowUninstDetails "show" InstallDir "$PROGRAMFILES64\Looking Glass (host)" +!ifndef BUILD_32BIT +Target AMD64-Unicode +!endif + !define MUI_ICON "icon.ico" !define MUI_UNICON "icon.ico" !define MUI_LICENSEPAGE_BUTTON "Agree"