fix(scripts/build): incorrect binary path for non-windows
This commit is contained in:
parent
51f86d7d6f
commit
5b79e41526
1 changed files with 2 additions and 2 deletions
|
|
@ -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}`)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue