Skip to content

Commit 93380a2

Browse files
committed
install arm64 binary in postinstall
1 parent 7376ca8 commit 93380a2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

postinstall.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ const installWindowsBinary = () => {
3535

3636
switch (process.platform) {
3737
case "linux":
38-
installMacLinuxBinary("rewatch-linux");
38+
if (process.arch === "arm64") {
39+
installMacLinuxBinary("rewatch-linux-arm64");
40+
} else {
41+
installMacLinuxBinary("rewatch-linux");
42+
}
3943
break;
4044
case "darwin":
4145
installMacLinuxBinary("rewatch-macos");

0 commit comments

Comments
 (0)