opnsense-ports/devel/electron32/files/patch-electron_default__app_default__app.ts
Franco Fichtner fd3bf1794a */*: sync with upstream
Taken from: FreeBSD
2024-09-23 09:02:17 +02:00

11 lines
403 B
TypeScript

--- electron/default_app/default_app.ts.orig 2023-12-04 18:19:02 UTC
+++ electron/default_app/default_app.ts
@@ -60,7 +60,7 @@ async function createWindow (backgroundColor?: string)
show: false
};
- if (process.platform === 'linux') {
+ if (process.platform === 'linux' || process.platform === 'freebsd') {
options.icon = url.fileURLToPath(new URL('icon.png', import.meta.url));
}