added icon on main windows
This commit is contained in:
parent
23abf0e0b7
commit
0d1a2e59d4
|
@ -1,3 +1,4 @@
|
||||||
|
const { join } = require("path");
|
||||||
const { app, Menu, MenuItem, BrowserWindow, shell } = require("electron");
|
const { app, Menu, MenuItem, BrowserWindow, shell } = require("electron");
|
||||||
|
|
||||||
// Keep a global reference of the window object, if you don't, the window will
|
// Keep a global reference of the window object, if you don't, the window will
|
||||||
|
@ -10,6 +11,8 @@ function createWindow() {
|
||||||
width: 377,
|
width: 377,
|
||||||
height: 800,
|
height: 800,
|
||||||
title: "Sengi",
|
title: "Sengi",
|
||||||
|
//icon: join(__dirname, '/src/assets/icons/icon-512x512.png'),
|
||||||
|
icon: join(__dirname, '/assets/icons/win/icon.ico'),
|
||||||
backgroundColor: "#131925",
|
backgroundColor: "#131925",
|
||||||
useContentSize: true,
|
useContentSize: true,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
|
|
Loading…
Reference in New Issue