Initial commit

This commit is contained in:
Vendicated
2023-03-30 01:02:30 +02:00
commit 0a3a0ca076
12 changed files with 1654 additions and 0 deletions

18
src/main/splash.ts Normal file
View File

@@ -0,0 +1,18 @@
import { BrowserWindow } from "electron";
import { join } from "path";
export function createSplashWindow() {
const splash = new BrowserWindow({
transparent: true,
frame: false,
height: 350,
width: 300,
center: true,
resizable: false,
maximizable: false
});
splash.loadFile(join(__dirname, "..", "static", "splash.html"));
return splash;
}