π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Workaround
Manav Rathi3d83786f6c91
diff --git a/desktop/src/main/services/ml-util-test.ts b/desktop/src/main/services/ml-util-test.tsindex 26c6ad9096..c7bec54356 100644--- a/desktop/src/main/services/ml-util-test.ts+++ b/desktop/src/main/services/ml-util-test.ts@@ -1,6 +1,24 @@-import log from "../log";+/**+ * [Note: Using Electron APIs in UtilityProcess]+ *+ * Only a small subset of the Electron APIs are available to a UtilityProcess.+ * As of writing (Jul 2024, Electron 30), only the following are available:+ * - net+ * - systemPreferences+ *+ * In particular, `app` is not available.+ *+ * We structure our code so that it doesn't need anything apart from `net`.+ */++// import log from "../log";import { ensure, wait } from "../utils/common";+const log = {+ info: (...ms: unknown[]) => console.log(...ms),+ debug: (fn: () => unknown) => console.log(fn()),+};+log.debug(() => "Started ML worker process");process.parentPort.once("message", (e) => {