diff options
Diffstat (limited to 'client/main.js')
-rwxr-xr-x | client/main.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/client/main.js b/client/main.js index 0e9f8e3..3b4c8de 100755 --- a/client/main.js +++ b/client/main.js @@ -2,7 +2,7 @@ const buildNumber = "main"; // --- >FINAL< @BUILDNUMBER@ >FINAL< --- // -const version = "2.7.0"; +const version = "2.7.1"; const { protocol, app, BrowserWindow, webContents, globalShortcut, nativeTheme, ipcMain, session, dialog, Menu } = require('electron'); const os = require("os"); @@ -120,7 +120,11 @@ const createWindow = () => { nodeIntegration: true, contextIsolation: false, additionalArguments: "--user-data-dir=\"" + localchatDataRoot + "/client" + "\"", - webviewTag: true + webviewTag: true, + plugins: true, + scrollBounce: true, + autoplayPolicy: "document-user-activation-required", + enableWebSQL: false } }); @@ -501,4 +505,4 @@ ipcMain.on('menu', (_, params) => { y: params.y, sourceType: params.menuSourceType }); -});
\ No newline at end of file +}); |