Create polished demo videos without editing skills. Mac/Windows/Linux
fix: resolve Windows helper paths consistently
wiiiii123ea87d9a55b09
diff --git a/electron/ipc/paths/binaries.ts b/electron/ipc/paths/binaries.tsindex 739f7df8..a95a79cf 100644--- a/electron/ipc/paths/binaries.ts+++ b/electron/ipc/paths/binaries.ts@@ -53,6 +53,7 @@ export function resolvePreferredWindowsNativeHelperPath(helperDirectory: string,binaryName: string,): string {+ const windowsArchTag = process.arch === "arm64" ? "win32-arm64" : "win32-x64";const buildOutputPath = resolveUnpackedAppPath("electron","native",@@ -61,7 +62,13 @@ export function resolvePreferredWindowsNativeHelperPath("Release",binaryName,);- const prebundledPath = getPrebundledNativeHelperPath(binaryName);+ const prebundledPath = resolveUnpackedAppPath(+ "electron",+ "native",+ "bin",+ windowsArchTag,+ binaryName,+ );if (app.isPackaged && existsSync(prebundledPath)) {return prebundledPath;