From f875e0e53044031c1bf5749dd1fb0a1e5a39c9d9 Mon Sep 17 00:00:00 2001 From: djtech-dev <61155988+djtech-dev@users.noreply.github.com> Date: Sun, 3 Jul 2022 22:11:25 +0200 Subject: [PATCH] Fixed `SharedArrayBuffer` issue `SharedArrayBuffer` wasn't implemented in the Min browser, so some sites (like Google Earth) couldn't be used by the Min browser. --- main/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/main.js b/main/main.js index 2534d5326..3467ead28 100644 --- a/main/main.js +++ b/main/main.js @@ -15,6 +15,8 @@ const { nativeTheme } = electron + +app.commandLine.appendSwitch('enable-features','SharedArrayBuffer'); // Required for using SharedArrayBuffer inside the browser crashReporter.start({ submitURL: 'https://minbrowser.org/', uploadToServer: false,