Skip to content

Commit

Permalink
Fixed icon setting in index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNicolasDeveloper committed Apr 29, 2023
1 parent 6c1e334 commit c2b462e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nicochat",
"productName": "NicoChat",
"version": "1.0.0",
"version": "1.0.1",
"description": "NicoChat chat application",
"main": "src/index.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { app, BrowserWindow } = require("electron");
const { app, BrowserWindow, Tray } = require("electron");
const path = require("path");

const devMode = false;
Expand All @@ -18,7 +18,7 @@ const createWindow = () => {
webviewTag: true,
preload: path.join(__dirname, "preload.js"),
},
icon: "./images/icon.png",
icon: __dirname + '/images/icon.ico',
});

mainWindow.setMenuBarVisibility(false);
Expand All @@ -42,7 +42,7 @@ app.on("ready", createWindow);
app.on("ready", () => {
require("update-electron-app")({
repo: "TheNicolasDeveloper/nicochat-desktop",
updateInterval: "5 minutes"
updateInterval: "5 minutes",
});
});

Expand Down

0 comments on commit c2b462e

Please sign in to comment.