mirror of
https://git.freebsd.org/ports.git
synced 2025-07-10 05:49:22 -04:00
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
11 lines
535 B
TypeScript
11 lines
535 B
TypeScript
--- electron/lib/browser/init.ts.orig 2023-09-12 14:03:39 UTC
|
|
+++ electron/lib/browser/init.ts
|
|
@@ -158,7 +158,7 @@ const mainStartupScript = packageJson.main || 'index.j
|
|
const KNOWN_XDG_DESKTOP_VALUES = ['Pantheon', 'Unity:Unity7', 'pop:GNOME'];
|
|
|
|
function currentPlatformSupportsAppIndicator () {
|
|
- if (process.platform !== 'linux') return false;
|
|
+ if (process.platform !== 'linux' && process.platform !== 'freebsd') return false;
|
|
const currentDesktop = process.env.XDG_CURRENT_DESKTOP;
|
|
|
|
if (!currentDesktop) return false;
|