Replace Database connection with web server API

This commit is contained in:
Geomitron
2020-05-03 16:36:08 -04:00
parent 0b4e50174d
commit a3271bf164
20 changed files with 190 additions and 293 deletions

View File

@@ -5,7 +5,6 @@ import * as url from 'url'
// IPC Handlers
import { getIPCInvokeHandlers, getIPCEmitHandlers, IPCEmitEvents } from './shared/IPCHandler'
import Database from './shared/Database'
import { getSettingsHandler } from './ipc/SettingsHandler.ipc'
import { dataPath } from './shared/Paths'
@@ -86,7 +85,6 @@ function createBridgeWindow() {
}
mainWindow.on('closed', () => {
Database.closeConnection()
mainWindow = null // Dereference mainWindow when the window is closed
})
}