sorry for doing this.

This commit is contained in:
cryptofyre 2021-12-04 00:04:04 -06:00
parent 5fc82a8bc7
commit b3db294485
106 changed files with 86 additions and 259 deletions

View file

@ -1,30 +0,0 @@
const {
BrowserWindow
} = require('electron');
const SplashScreen = {
win: null,
show: function () {
this.win = new BrowserWindow({
width: 300,
height: 300,
resizable: false,
show: true,
center: true,
transparent: true,
frame: false,
alwaysOnTop: true,
// skipTaskbar: true,
webPreferences: {
nodeIntegration: true
}
})
this.win.show()
this.win.loadFile('./resources/splash/index.html')
this.win.on("closed", () => {
this.win = null
})
}
}
module.exports = SplashScreen