mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -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
539 B
TypeScript
11 lines
539 B
TypeScript
--- electron/lib/browser/init.ts.orig 2025-04-04 05:26:44 UTC
|
|
+++ electron/lib/browser/init.ts
|
|
@@ -165,7 +165,7 @@ function currentPlatformSupportsAppIndicator () {
|
|
const KNOWN_XDG_DESKTOP_VALUES = new Set(['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;
|