opnsense-ports/devel/electron32/files/patch-electron_default__app_default__app.ts
Franco Fichtner aca4f92396 */*: sync with upstream
Taken from: FreeBSD
2024-10-21 14:34:57 +02:00

11 lines
403 B
TypeScript

--- electron/default_app/default_app.ts.orig 2024-10-09 13:53:06 UTC
+++ electron/default_app/default_app.ts
@@ -61,7 +61,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));
}