fix(RVCMD): is_win issue

This commit is contained in:
simosechi 2024-04-23 11:30:20 +02:00
parent 0f563b7b6d
commit b7890c3308

View File

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