nixpkgs/pkgs/by-name/fl/flexoptix-app/allow-no-secret-manager.patch

10 lines
359 B
Diff
Raw Permalink Normal View History

--- app/node_modules/rme-electron/main/fo-storage/models/fo-storage-file.js
+++ app/node_modules/rme-electron/main/fo-storage/models/fo-storage-file.js
@@ -25,6 +25,7 @@
if (!this.#isPlainObject(initialContent)) {
throw new Error("Content must be a plain object");
}
+ safeStorage.setUsePlainTextEncryption(true);
this.#content = initialContent;
}