Skip to content

Commit

Permalink
fix msi arm64 detection
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed May 2, 2024
1 parent 952a03e commit 1750b63
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ All documentation is under `docs/`
| | i386 | x64 | arm64 |
|-------------|:----:|:---:|:---------:|
| **Linux** | X | X | X |
| **Windows** | X | X | (use x64) |
| **Windows** | X | X | X |
| **FreeBSD** | X | X | X |
| **MacOSX** | | X | X |

Expand Down
4 changes: 2 additions & 2 deletions docs/install/supported.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ by [building snclient from source](../build).
| | i386 | x64 | arm64 |
|-------------|:----:|:---:|:---------:|
| **Linux** | X | X | X |
| **Windows** | X | X | (use x64) |
| **Windows** | X | X | X |
| **FreeBSD** | X | X | X |
| **MacOSX** | | X | X |

Expand All @@ -30,7 +30,7 @@ Successfully tested on:
- Windows 10
- Windows 11
- Windows Server 2019
- Windows ARM 11 Preview (using the x86 pkg)
- Windows ARM 11 Preview

Others will quite likely work as well, but haven't been tested yet.

Expand Down
2 changes: 1 addition & 1 deletion packaging/windows/snclient.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>
<?define Win64 = 'yes' ?>
<?define InstallerVersion = '200' ?>
<?elsif $(var.Platform) = arm64 ?>
<?elsif $(var.Platform) ~= "Arm64" ?>
<?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>
<?define Win64 = 'yes' ?>
<?define InstallerVersion = '500' ?>
Expand Down

0 comments on commit 1750b63

Please sign in to comment.