4
0
mirror of https://github.com/AltarikMC/Launcher synced 2025-12-13 11:41:45 +00:00

dump @types/node from 14.14.34 to 14.14.35 + contextIsolation from false to true

This commit is contained in:
2021-03-16 10:19:51 +01:00
parent d8903fe85f
commit f82c4199d5
3 changed files with 5 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
'use strict';
const {ipcRenderer} = require('electron');
const { ipcRenderer } = require('electron');
window.addEventListener("DOMContentLoaded", () => {
const minimizeButton = document.getElementById("minimize-btn")

View File

@@ -31,7 +31,7 @@ function createWindow () {
icon: iconPath,
webPreferences: {
nodeIntegration: true,
enableRemoteModule: true
contextIsolation: false
},
frame: false,
})