Add proper tray icon image
This commit is contained in:
parent
4f860deffc
commit
d54964254b
2 changed files with 1 additions and 1 deletions
BIN
Dashboard/assets/tray.ico
Normal file
BIN
Dashboard/assets/tray.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
|
@ -97,7 +97,7 @@ app.on("browser-window-blur", () => {
|
||||||
// code. You can also put them in separate files and require them here.
|
// code. You can also put them in separate files and require them here.
|
||||||
|
|
||||||
function createTray() {
|
function createTray() {
|
||||||
const trayIcon = new Tray(getAssetPath("tray.png"));
|
const trayIcon = new Tray(getAssetPath("tray.ico"));
|
||||||
const contextMenu = Menu.buildFromTemplate([
|
const contextMenu = Menu.buildFromTemplate([
|
||||||
{
|
{
|
||||||
label: "Show",
|
label: "Show",
|
||||||
|
|
Reference in a new issue