diff --git a/core/config/load.ts b/core/config/load.ts index d475707c0..023b7d852 100644 --- a/core/config/load.ts +++ b/core/config/load.ts @@ -365,7 +365,7 @@ async function buildConfigTs() { try { if (process.env.IS_BINARY === "true") { execSync( - path.dirname(process.execPath) + + escapeSpacesInPath(path.dirname(process.execPath)) + `/esbuild${ getTarget().startsWith("win32") ? ".exe" : "" } ${escapeSpacesInPath(