Remove remote modules usage

This commit is contained in:
DeionSi 2023-01-15 12:48:15 +01:00
parent a2800ec0fe
commit 39ffc6583e
2 changed files with 0 additions and 8 deletions

View File

@ -23,7 +23,6 @@ function createWindow ()
backgroundColor: '#312450',
webPreferences: {
nodeIntegration: true,
enableRemoteModule: true,
contextIsolation: false,
},
});

View File

@ -1,7 +1,6 @@
const serialport = require('@serialport/bindings-cpp')
const usb = require('usb')
const {ipcRenderer} = require("electron")
const {remote} = require('electron')
const { shell } = require('electron')
var basetuneList = [];
@ -580,12 +579,6 @@ function openFileMgr()
}
}
function quit()
{
let w = remote.getCurrentWindow();
w.close();
}
async function checkForUpdates()
{
//Adds the current version number to the Titlebar