MCPcopy Create free account
hub / github.com/code3-dev/dengvpn / createSplash

Function createSplash

main.js:367–383  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

365}
366
367function createSplash() {
368 splash = new BrowserWindow({
369 width: 400,
370 height: 300,
371 frame: false,
372 transparent: true,
373 alwaysOnTop: true,
374 icon: getAssetPath('icon.png'),
375 webPreferences: {
376 nodeIntegration: false,
377 contextIsolation: true,
378 devTools: false
379 }
380 });
381
382 splash.loadFile(getAssetPath('splash.html'));
383}
384
385function createWindow() {
386 if (splash) {

Callers 1

main.jsFile · 0.85

Calls 1

getAssetPathFunction · 0.85

Tested by

no test coverage detected