projects/aports·blob master · refs

21 lines · 599 B

1--- a/electron/default_app/default_app.ts
2+++ b/electron/default_app/default_app.ts
3@@ -61,7 +61,7 @@
4 };
5
6 if (process.platform === 'linux') {
7- options.icon = url.fileURLToPath(new URL('icon.png', import.meta.url));
8+ options.icon = 'file:///usr/share/icons/hicolor/1024x1024/apps/electron.png';
9 }
10
11 mainWindow = new BrowserWindow(options);
12--- a/electron/filenames.gni
13+++ b/electron/filenames.gni
14@@ -6,7 +6,6 @@
15 ]
16
17 default_app_static_sources = [
18- "default_app/icon.png",
19 "default_app/index.html",
20 "default_app/package.json",
21 "default_app/styles.css",