Meant to commit this as last commit. Oh well.
This commit is contained in:
parent
8ebbd0ac47
commit
9b17d5cd47
13
app/main.js
13
app/main.js
|
@ -7,20 +7,15 @@ process.env['ELECTRON_DISABLE_SECURITY_WARNINGS'] = 'true';
|
||||||
|
|
||||||
const electron = require('electron')
|
const electron = require('electron')
|
||||||
const { Menu, MenuItem, ipcMain, BrowserWindow, app } = electron
|
const { Menu, MenuItem, ipcMain, BrowserWindow, app } = electron
|
||||||
const fs = require('fs')
|
|
||||||
const os = require('os')
|
|
||||||
const { createLogger, format, transports } = require('winston')
|
const { createLogger, format, transports } = require('winston')
|
||||||
const { combine, timestamp, label, printf, colorize, prettyPrint, simple } = format
|
const { combine, timestamp, label, printf, colorize, prettyPrint, simple } = format
|
||||||
const moment = require('moment')
|
const { EventEmitter } = require('events')
|
||||||
const uuid = require('uuid')
|
const { join } = require('path')
|
||||||
const events = require('events')
|
|
||||||
const path = require('path')
|
|
||||||
|
|
||||||
const ee = new events.EventEmitter()
|
const ee = new EventEmitter()
|
||||||
const settings = require('settings')
|
const settings = require('settings')
|
||||||
const system = require('system')
|
const system = require('system')
|
||||||
const Server = require('server')
|
const Server = require('server')
|
||||||
const Intval = require('intval')
|
|
||||||
const { delay } = require('delay')
|
const { delay } = require('delay')
|
||||||
|
|
||||||
//Objects
|
//Objects
|
||||||
|
@ -60,7 +55,7 @@ var createWindow = function () {
|
||||||
height: 600,
|
height: 600,
|
||||||
minWidth : 800,
|
minWidth : 800,
|
||||||
minHeight : 600,
|
minHeight : 600,
|
||||||
icon: path.join(__dirname, 'assets/icons/icon.png'),
|
icon: join(__dirname, 'assets/icons/icon.png'),
|
||||||
webPreferences : {
|
webPreferences : {
|
||||||
nodeIntegration: true
|
nodeIntegration: true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue