mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 22:50:32 -04:00
11 lines
746 B
TypeScript
11 lines
746 B
TypeScript
--- electron/lib/browser/api/menu-item-roles.ts.orig 2021-01-25 12:14:34 UTC
|
|
+++ electron/lib/browser/api/menu-item-roles.ts
|
|
@@ -2,7 +2,7 @@ import { app, BrowserWindow, WebContents, MenuItemCons
|
|
|
|
const isMac = process.platform === 'darwin';
|
|
const isWindows = process.platform === 'win32';
|
|
-const isLinux = process.platform === 'linux';
|
|
+const isLinux = (process.platform === 'linux' || process.platform === 'freebsd');
|
|
|
|
type RoleId = 'about' | 'close' | 'copy' | 'cut' | 'delete' | 'forcereload' | 'front' | 'help' | 'hide' | 'hideothers' | 'minimize' |
|
|
'paste' | 'pasteandmatchstyle' | 'quit' | 'redo' | 'reload' | 'resetzoom' | 'selectall' | 'services' | 'recentdocuments' | 'clearrecentdocuments' | 'startspeaking' | 'stopspeaking' |
|