Removing background processing limitations; added change detector call to tabs component
This commit is contained in:
@@ -34,12 +34,13 @@ const createWindow = (startType = "build", debug = false, args = []) => {
|
||||
icon: settingsManager.getIconPath(),
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, 'preload.js'),
|
||||
backgroundThrottling: false,
|
||||
webSecurity: true,
|
||||
sandbox: true,
|
||||
nodeIntegration: false,
|
||||
contextIsolation: true,
|
||||
enableRemoteModule: false,
|
||||
plugins: true,
|
||||
webSecurity: true,
|
||||
sandbox: true,
|
||||
}
|
||||
});
|
||||
|
||||
|
@@ -1,11 +1,17 @@
|
||||
const { app, ipcMain } = require('electron');
|
||||
|
||||
app.commandLine.appendSwitch('disable-renderer-backgrounding');
|
||||
app.commandLine.appendSwitch('disable-background-timer-throttling');
|
||||
app.commandLine.appendSwitch('disable-backgrounding-occluded-windows');
|
||||
|
||||
const { newton } = require('./app');
|
||||
|
||||
|
||||
|
||||
let window = null;
|
||||
|
||||
|
||||
|
||||
const loadHandlers = () => {
|
||||
ipcMain.handle('getLspConfigData', (eve) => newton.fs.getLspConfigData());
|
||||
ipcMain.handle('getFileContents', (eve, path) => newton.fs.getFileContents(path));
|
||||
|
Reference in New Issue
Block a user