fix: windows打包

This commit is contained in:
Wxw-Gu
2026-08-13 16:11:30 +08:00
parent 8ca8ad9dee
commit 900e4c504c
5 changed files with 12 additions and 0 deletions
+6
View File
@@ -1,2 +1,8 @@
shamefully-hoist=true
electron_mirror=https://npmmirror.com/mirrors/electron/
# Keep the Windows x64 sherpa-onnx optional runtime available when packaging
# Windows from macOS/Linux hosts.
supportedArchitectures.os[]=darwin
supportedArchitectures.os[]=win32
supportedArchitectures.cpu[]=arm64
supportedArchitectures.cpu[]=x64