Migrate to native Node.js file access and improve UI

This commit is contained in:
proteriax
2021-11-08 02:59:58 -05:00
parent 06e29eaba1
commit eb27e81d68
21 changed files with 472 additions and 156 deletions

View File

@ -2,6 +2,7 @@
// Modules to control application life and create native browser window
import { join } from "path"
import { app, BrowserWindow, Menu } from "electron"
import "./ipc"
function createWindow() {
// Create the browser window.
@ -13,7 +14,7 @@ function createWindow() {
icon: join(__dirname, "../512x512.png"),
webPreferences: {
contextIsolation: true,
// preload: join(__dirname, "preload.js"),
preload: join(__dirname, "preload.js"),
},
})