Skip to content

Commit

Permalink
Fix ninja asset name
Browse files Browse the repository at this point in the history
  • Loading branch information
will-v-pi committed Jun 5, 2024
1 parent b26ce93 commit 9bf283b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/download.mts
Original file line number Diff line number Diff line change
Expand Up @@ -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`;
Expand Down

0 comments on commit 9bf283b

Please sign in to comment.