ayaports/backports/electron/electron_icon.patch

22 lines
599 B
Diff
Raw Normal View History

2023-01-11 00:40:45 +00:00
--- a/electron/default_app/default_app.ts
+++ b/electron/default_app/default_app.ts
2024-06-02 23:02:17 +00:00
@@ -61,7 +61,7 @@
2023-01-11 00:40:45 +00:00
};
if (process.platform === 'linux') {
2024-06-02 23:02:17 +00:00
- options.icon = url.fileURLToPath(new URL('icon.png', import.meta.url));
+ options.icon = 'file:///usr/share/icons/hicolor/1024x1024/apps/electron.png';
2023-01-11 00:40:45 +00:00
}
mainWindow = new BrowserWindow(options);
--- a/electron/filenames.gni
+++ b/electron/filenames.gni
@@ -6,7 +6,6 @@
]
default_app_static_sources = [
- "default_app/icon.png",
"default_app/index.html",
"default_app/package.json",
"default_app/styles.css",