Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix ONNX platform packaging globs

Manav Rathi8e898c893e5f
diff --git a/desktop/electron-builder.yml b/desktop/electron-builder.yml
index bf47efbdfe..e304694e06 100644
--- a/desktop/electron-builder.yml
+++ b/desktop/electron-builder.yml
@@ -13,7 +13,7 @@ protocols:
win:
files:
- "!node_modules/onnxruntime-node/bin/napi-v6/**/*"
- - "node_modules/onnxruntime-node/bin/napi-v6/${platform}/${arch}/**/*"
+ - "node_modules/onnxruntime-node/bin/napi-v6/win32/${arch}/**/*"
target:
- target: nsis
arch: [x64, arm64]
@@ -28,7 +28,7 @@ nsis:
linux:
files:
- "!node_modules/onnxruntime-node/bin/napi-v6/**/*"
- - "node_modules/onnxruntime-node/bin/napi-v6/${platform}/${arch}/**/*"
+ - "node_modules/onnxruntime-node/bin/napi-v6/linux/${arch}/**/*"
target:
- target: AppImage
arch: [x64, arm64]