From 5b79e415260992aaaa3a848eb4a045a02d699d13 Mon Sep 17 00:00:00 2001 From: PalmDevs Date: Mon, 5 May 2025 01:45:35 +0700 Subject: [PATCH] fix(scripts/build): incorrect binary path for non-windows --- scripts/build.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build.ts b/scripts/build.ts index 52f5d25..976cc58 100644 --- a/scripts/build.ts +++ b/scripts/build.ts @@ -128,8 +128,8 @@ function swcPlugin() { function hermesCPlugin({ afterComplete, flags }: { flags?: string[]; afterComplete?: () => void } = {}) { const paths = { win32: 'hermesc.exe', - darwin: 'darwin/hermesc', - linux: 'linux/hermesc', + darwin: 'hermesc', + linux: 'hermesc', } if (!(process.platform in paths)) throw new Error(`Unsupported platform: ${process.platform}`)