mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-19 22:24:11 +00:00
feat: upload file
This commit is contained in:
+2
-1
@@ -7,10 +7,10 @@ const {
|
||||
dialog,
|
||||
ipcMain,
|
||||
shell,
|
||||
Notification,
|
||||
} = require('electron');
|
||||
const path = require('path');
|
||||
const { electron } = require('process');
|
||||
const { Notification } = require('electron');
|
||||
|
||||
const env = process.env.NODE_ENV || 'prod';
|
||||
|
||||
@@ -100,6 +100,7 @@ function createWindow() {
|
||||
// TODO: what are recommended alternatives to node integration?
|
||||
nodeIntegration: true,
|
||||
contextIsolation: false,
|
||||
enableRemoteModule: true,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user