Skip to content

Commit

Permalink
fix: build native module script
Browse files Browse the repository at this point in the history
  • Loading branch information
kangfenmao committed Dec 26, 2024
1 parent 5b42a6d commit 6b7ba35
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions scripts/build-npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,21 @@ async function downloadNpm(platform) {

if (!platform || platform === 'linux') {
downloadNpmPackage(
'@libsql/libsql-linux-arm64-gnu',
'@libsql/linux-arm64-gnu',
'https://registry.npmjs.org/@libsql/linux-arm64-gnu/-/linux-arm64-gnu-0.4.7.tgz'
)
downloadNpmPackage(
'@libsql/libsql-linux-x64-gnu',
'@libsql/linux-arm64-musl',
'https://registry.npmjs.org/@libsql/linux-arm64-musl/-/linux-arm64-musl-0.4.7.tgz'
)
downloadNpmPackage(
'@libsql/linux-x64-gnu',
'https://registry.npmjs.org/@libsql/linux-x64-gnu/-/linux-x64-gnu-0.4.7.tgz'
)
downloadNpmPackage(
'@libsql/linux-x64-musl',
'https://registry.npmjs.org/@libsql/linux-x64-musl/-/linux-x64-musl-0.4.7.tgz'
)
}
}

Expand Down

0 comments on commit 6b7ba35

Please sign in to comment.