Skip to content

Commit 50c6a65

Browse files
latest pushes
1 parent 6b0b47a commit 50c6a65

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

icons.png

3.37 KB
Loading

scripts/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
const { app, BrowserWindow, Menu } = require('electron');
2+
const path = require('path');
23

34
// Application configuration
45
const appConfig = {
@@ -22,6 +23,7 @@ async function createMainWindow() {
2223
contextIsolation: false,
2324
userAgent: appConfig.userAgent,
2425
},
26+
icon: path.join(__dirname, '../icons.png'), // Path to the icon file
2527
});
2628

2729
try {

0 commit comments

Comments
 (0)