forked from pool/nodejs-electron
- New upstream release 25.9.1
* Fixed an issue where calling loadURL during some webContents url loading events could crash.
* Fixed deprecated gpu-process-crashed / renderer-process-crashed events being emitted twice and with incorrect arguments.
- Desktop integration cleanup:
* edit .desktop file to not show Electron in start menu as it is useless when run by itself
* drop electron-logo-symbolic.svg and instead use upstream supplied icon
* do not install icon twice (icon.patch)
* do not create /{etc,usr/share}/webapps directories which do not belong here
* do not recommend noto-coloremoji-fonts, if an app needs it it should pull it by itself.
OBS-URL: https://build.opensuse.org/request/show/1117502
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=100
22 lines
569 B
Diff
22 lines
569 B
Diff
--- a/electron/default_app/default_app.ts
|
|
+++ b/electron/default_app/default_app.ts
|
|
@@ -60,7 +60,7 @@
|
|
};
|
|
|
|
if (process.platform === 'linux') {
|
|
- options.icon = path.join(__dirname, 'icon.png');
|
|
+ options.icon = '/usr/share/icons/hicolor/1024x1024/apps/electron.png';
|
|
}
|
|
|
|
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",
|