π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Use negation-only globs when pruning ONNX binaries
Manav Rathi829adb9397a9
diff --git a/desktop/changes/fix-ml-load.md b/desktop/changes/fix-ml-load.mdnew file mode 100644index 0000000000..b96e42959a--- /dev/null+++ b/desktop/changes/fix-ml-load.md@@ -0,0 +1 @@+- Fix machine learning features failing to load.diff --git a/desktop/electron-builder.yml b/desktop/electron-builder.ymlindex e304694e06..bf0b49b0cc 100644--- a/desktop/electron-builder.yml+++ b/desktop/electron-builder.yml@@ -12,8 +12,8 @@ protocols:schemes: ["ente"]win:files:- - "!node_modules/onnxruntime-node/bin/napi-v6/**/*"- - "node_modules/onnxruntime-node/bin/napi-v6/win32/${arch}/**/*"+ - "!node_modules/onnxruntime-node/bin/napi-v6/{darwin,linux}/**/*"+ - "!node_modules/onnxruntime-node/bin/napi-v6/win32/!(${arch})/**/*"target:- target: nsisarch: [x64, arm64]@@ -27,8 +27,8 @@ nsis:deleteAppDataOnUninstall: truelinux:files:- - "!node_modules/onnxruntime-node/bin/napi-v6/**/*"- - "node_modules/onnxruntime-node/bin/napi-v6/linux/${arch}/**/*"+ - "!node_modules/onnxruntime-node/bin/napi-v6/{darwin,win32}/**/*"+ - "!node_modules/onnxruntime-node/bin/napi-v6/linux/!(${arch})/**/*"target:- target: AppImagearch: [x64, arm64]@@ -42,9 +42,7 @@ linux:icon: ./build/icon.icnsmac:files:- - "!node_modules/onnxruntime-node/bin/napi-v6/**/*"- - "node_modules/onnxruntime-node/bin/napi-v6/darwin/arm64/**/*"- - "node_modules/onnxruntime-node/bin/napi-v6/darwin/x64/**/*"+ - "!node_modules/onnxruntime-node/bin/napi-v6/{linux,win32}/**/*"target:target: defaultarch: [universal]