Skip to content

Commit 43d0bb1

Browse files
clementb49claude
andcommitted
fix(updater): detect ARM64 architecture for update download
platform.architecture() returns '64bit' on ARM64, causing the updater to download the x64 installer. Check platform.machine() first to correctly identify ARM64 Windows. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c70906b commit 43d0bb1

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

basilisk/updater.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,11 @@ def get_app_architecture(self) -> str:
145145
"""Get the architecture of the application.
146146
147147
Returns:
148-
The architecture of the application as a string (e.g., 'x64' or 'x86').
148+
The architecture of the application as a string (e.g., 'x64', 'x86' or 'arm64').
149149
"""
150+
machine = platform.machine()
151+
if machine == "ARM64":
152+
return "arm64"
150153
arch = platform.architecture()[0]
151154
if arch == "64bit":
152155
return "x64"

0 commit comments

Comments
 (0)