From 19b6b8c9256b1efe3d19f46ab42d4e239238a710 Mon Sep 17 00:00:00 2001 From: mjaruzel Date: Wed, 15 Nov 2023 07:56:35 +0100 Subject: [PATCH] chore: fake electron plugins --- skeleton/preload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skeleton/preload.js b/skeleton/preload.js index 19f3f1a1..3172fb97 100644 --- a/skeleton/preload.js +++ b/skeleton/preload.js @@ -293,7 +293,7 @@ const Desktop = new (class { asJSON() { return { - electron: this.electron, + electron: { webFrame: { getZoomFactor: () => 1 } }, fetch: (...args) => this.fetch(...args), fetchAsset: (...args) => this.fetchAsset(...args), fetchFile: (...args) => this.fetchFile(...args),