splash and login screens

This commit is contained in:
Andrew Gundersen 2021-02-04 11:29:35 -06:00
commit a3365c544d
4 changed files with 78 additions and 2 deletions

View file

@ -27,7 +27,7 @@ function createWindow() {
win = new BrowserWindow({
width: 350,
height: 520,
resizable: false,
resizable: true,
maximizable: false,
// Postition at launch
@ -35,7 +35,13 @@ function createWindow() {
y: 10,
webPreferences: {
devTools: false,
devTools: true,
nodeIntegration:
(process.env.ELECTRON_NODE_INTEGRATION as unknown) as boolean,
preload: path.join(__dirname, "preload.js")
}
});