splash and login screens
This commit is contained in:
parent
0f37cf98b1
commit
a3365c544d
4 changed files with 78 additions and 2 deletions
|
|
@ -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")
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue