Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[desktop] Build ARM64 variant of Windows (#1405)
Fixes #1374 A customer reported that the app fails to run on Windows ARM. The error is coming when trying to load ONNX. ONNX runtime supports Windows ARM, e.g. see - https://www.jsdelivr.com/package/npm/onnxruntime-node?tab=files&path=bin%2Fnapi-v3%2Fwin32 - microsoft/onnxruntime#18078 The issue then seems to be that we're not actually building for Windows ARM. I'm not sure about this (don't have a Windows ARM machine at hand), but my theory is that since we don't ask Electron Builder to build for win arm64, it doesn't copy the corresponding ONNX binary into the generated bundle. Other refs: - https://www.electron.build/cli.html
- Loading branch information