Skip to content

Commit

Permalink
install arm64 binary in postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
tsnobip committed Nov 19, 2024
1 parent 7376ca8 commit 93380a2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ const installWindowsBinary = () => {

switch (process.platform) {
case "linux":
installMacLinuxBinary("rewatch-linux");
if (process.arch === "arm64") {
installMacLinuxBinary("rewatch-linux-arm64");
} else {
installMacLinuxBinary("rewatch-linux");
}
break;
case "darwin":
installMacLinuxBinary("rewatch-macos");
Expand Down

0 comments on commit 93380a2

Please sign in to comment.