Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Add additional resources
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansampson committed Apr 28, 2017
1 parent 2ba0492 commit 8aa3ef5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
Binary file added app/extensions/brave/img/extensions/honey-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/extensions/brave/locales/en-US/extensions.properties
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ torrent= Torrent Viewer
torrentDesc=Uses WebTorrent to display torrents directly in the browser. Supports torrent files and magnet links.
vimium= Vimium
vimiumDesc=
honeyDesc=Automatically find and apply coupon codes when you shop online!
10 changes: 10 additions & 0 deletions app/renderer/lib/extensionsUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const pocket = config.PocketExtensionId
const sync = config.syncExtensionId
const webtorrent = config.torrentExtensionId
const vimium = config.vimiumExtensionId
const honey = config.honeyExtensionId

/**
* Stores dummy data for all known extensions based on vault-updater extension manifest.
Expand Down Expand Up @@ -49,6 +50,12 @@ const dummyData = [
name: 'saveToPocket',
description: 'saveToPocketDesc',
icon: 'img/extensions/pocket-128.png'
},
{
id: honey,
name: 'honey',
description: 'honeyDesc',
icon: 'img/extensions/honey-128.png'
}
// { id: 'vimium' // TBD }
]
Expand Down Expand Up @@ -129,6 +136,9 @@ module.exports.getExtensionKey = (extensionId) => {
case vimium:
extensionSetting = settings.VIMIUM_ENABLED
break
case honey:
extensionSetting = settings.HONEY_ENABLED
break
default:
break
}
Expand Down

0 comments on commit 8aa3ef5

Please sign in to comment.