We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1da76e5 commit 2d38eb9Copy full SHA for 2d38eb9
app-shell/src/menu.ts
@@ -8,6 +8,8 @@ import { LOG_DIR } from './log'
8
const PRODUCT_NAME: string = _PKG_PRODUCT_NAME_
9
const BUGS_URL: string = _PKG_BUGS_URL_
10
11
+const EULA_URL = 'https://opentrons.com/eula' as const
12
+
13
// file or application menu
14
const firstMenu: MenuItemConstructorOptions = {
15
role: process.platform === 'darwin' ? 'appMenu' : 'fileMenu',
@@ -42,6 +44,16 @@ const helpMenu: MenuItemConstructorOptions = {
42
44
shell.openExternal(BUGS_URL)
43
45
},
46
47
+ {
48
+ label: 'View Privacy Policy',
49
+ click: () => {
50
+ shell.openExternal(EULA_URL).catch((e: Error) => {
51
+ console.error(
52
+ `could not open end user license agreement: ${e.message}`
53
+ )
54
+ })
55
+ },
56
57
],
58
}
59
0 commit comments