Skip to content

Commit

Permalink
feat: add desktop integrations
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
  • Loading branch information
hacdias committed Apr 21, 2020
1 parent a3cd28f commit bb8a92c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@
"settings": "Settings",
"preferences": "Preferences",
"openNodeSettings": "Open Node Settings",
"desktopIntegrations": "Desktop Integrations",
"launchOnStartup": "Launch at Login",
"ipfsCommandLineTools": "Command Line Tools",
"takeScreenshotShortcut": "Global Screenshot Shortcut",
Expand Down
4 changes: 4 additions & 0 deletions src/tray.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ function buildMenu (ctx) {
click: () => { ctx.launchWebUI('/settings') }
},
{ type: 'separator' },
{
label: i18n.t('settings.desktopIntegrations'),
enabled: false
},
buildCheckbox(AUTO_LAUNCH_KEY, 'settings.launchOnStartup'),
buildCheckbox(IPFS_PATH_KEY, 'settings.ipfsCommandLineTools'),
buildCheckbox(SCREENSHOT_KEY, 'settings.takeScreenshotShortcut'),
Expand Down

0 comments on commit bb8a92c

Please sign in to comment.