Skip to content

Commit

Permalink
fix grpcwebproxy download for arm
Browse files Browse the repository at this point in the history
  • Loading branch information
aikoven committed Oct 14, 2023
1 parent a289151 commit c60aad1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/nice-grpc-web/scripts/download-grpcwebproxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ const releases = {
};

const platform = process.platform;
const arch = process.arch === 'x64' ? 'x86_64' : 'x86_32';
const arch =
process.arch === 'x64' || process.arch === 'arm64' ? 'x86_64' : 'x86_32';
const release = platform + '_' + arch;

const targetPath = path.join(
Expand Down

0 comments on commit c60aad1

Please sign in to comment.