diff --git a/shims/electron/index.js b/shims/electron/index.js index 03b28db..4eea863 100644 --- a/shims/electron/index.js +++ b/shims/electron/index.js @@ -7,6 +7,18 @@ export const electronShim = { webFrame, remote: remoteShim, + safeStorage: { + isEncryptionAvailable() { + return false; + }, + encryptString(plainText) { + return Buffer.from(plainText); + }, + decryptString(encrypted) { + return encrypted.toString(); + }, + }, + webUtils: { getPathForFile(file) { return "";