Merge remote-tracking branch 'MiniguyBrendan/master'

This commit is contained in:
rafael-aero
2021-06-28 14:11:08 +02:00
2 changed files with 7 additions and 6 deletions

View File

@@ -121,14 +121,15 @@ function startSplashScreen() {
center: true,
frame: false,
closable: false,
resizable: false,
skipTaskbar: true,
alwaysOnTop: true,
show: true
});
splashScreen.setIgnoreMouseEvents(true);
app.once('browser-window-focus', () => {
app.once('browser-window-focus', () => {
splashScreen.destroy();
});
app.once('browser-window-created', () => {
splashScreen.destroy();
});
const loadSplashscreenUrl = path.join(__dirname, 'splashscreen', 'index.html') + '?imgPath=' + imageFile;

View File

@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en">
<head>
@@ -15,7 +15,7 @@
}
</style>
<img alt="splashscreen" style="width: 100%; height: 100%;">
<img draggable="false" alt="splashscreen" style="width: 100%; height: 100%;">
<script>
(() => {