mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-04-24 23:20:52 +00:00
Merge remote-tracking branch 'MiniguyBrendan/master'
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
(() => {
|
||||
|
||||
Reference in New Issue
Block a user