From 9bf283b3a4032203e385c57217a87c0b6d480918 Mon Sep 17 00:00:00 2001 From: William Vinnicombe Date: Wed, 5 Jun 2024 17:13:08 +0100 Subject: [PATCH] Fix ninja asset name --- src/utils/download.mts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/download.mts b/src/utils/download.mts index eab17752..83d8a74f 100644 --- a/src/utils/download.mts +++ b/src/utils/download.mts @@ -477,10 +477,10 @@ export async function downloadAndInstallNinja( return false; } - const assetName = `ninja-${NINJA_PLATFORMS[process.platform]}-${ + const assetName = `ninja-${NINJA_PLATFORMS[process.platform]}${ process.platform === "linux" ? process.arch === "arm64" - ? "aarch64" + ? "-aarch64" : "" : "" }.zip`;