Skip to content

Commit

Permalink
TEMP: Prevent install on arm64 Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Nov 7, 2024
1 parent c2d6ead commit e23fc86
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dist-assets/windows/installer.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,12 @@
Abort
${EndIf}

# TODO: pass in architecture
${If} ${IsNativeARM64}
MessageBox MB_ICONSTOP|MB_TOPMOST|MB_OK "This build of the app does not run on ARM Windows. Please find the appropriate installer on the website."
Abort
${EndIf}

# Application settings key
# Migrate 2018.(x<6) to current
registry::MoveKey "HKLM\SOFTWARE\8fa2c331-e09e-5709-bc74-c59df61f0c7e" "HKLM\SOFTWARE\${PRODUCT_NAME}"
Expand Down

0 comments on commit e23fc86

Please sign in to comment.