fix(RVCMD): is_win issue (#2011)

fix #2009
This commit is contained in:
simosechi 2024-04-23 17:31:28 +02:00 committed by GitHub
parent 0f563b7b6d
commit fb16ba36b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ def download_all_assets(tmpdir: str, version="0.2.2"):
}
system_type = platform.system().lower()
architecture = platform.machine().lower()
is_win = architecture == "windows"
is_win = system_type == "windows"
architecture = archs.get(architecture, None)
if not architecture: