Skip to content

Commit

Permalink
win32 icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ceddybi committed Feb 5, 2024
1 parent 0f1c84f commit 0fe7e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ if (require('electron-squirrel-startup')) {
const createWindow = (): void => {
// Create the browser window.
mainWindow = new BrowserWindow({
icon: path.join(__dirname, 'assets/icon.png'),
icon: path.join(__dirname, `assets/icon.${process.platform === "win32" ? "ico" : "png"}`),
height: 700,
width: 1000,
webPreferences: {
Expand Down

0 comments on commit 0fe7e3f

Please sign in to comment.