Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Commit

Permalink
it installs!
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Jun 30, 2017
1 parent d794399 commit 6f0be9a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion app/extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,13 +455,15 @@ module.exports.init = () => {
const extensions = extensionState.getExtensions(appStore.getState())
const extensionPath = extensions.getIn([extensionId, 'filePath'])
if (extensionPath) {
// Otheriwse just install it
// Otherwise just install it
loadExtension(extensionId, extensionPath)
}
}
}

// Manually install the braveExtension, torrentExtension and ipfsExtension

// braveExtension
extensionInfo.setState(config.braveExtensionId, extensionStates.REGISTERED)
loadExtension(config.braveExtensionId, getExtensionsPath('brave'), generateBraveManifest(), 'component')
extensionInfo.setState(config.syncExtensionId, extensionStates.REGISTERED)
Expand All @@ -479,6 +481,7 @@ module.exports.init = () => {
// ipfsExtension
extensionInfo.setState(config.ipfsExtensionId, extensionStates.REGISTERED)
loadExtension(config.ipfsExtensionId, getExtensionsPath('ipfs'))
console.log('IPFS: extension loaded')

let registerComponents = (diff) => {
if (getSetting(settings.PDFJS_ENABLED)) {
Expand Down
1 change: 1 addition & 0 deletions app/extensions/ipfs/_locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
2 changes: 1 addition & 1 deletion app/extensions/ipfs/manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"manifest_version": 1,
"manifest_version": 2,
"name": "IPFS",
"version": "0.1.0",
"default_locale": "en",
Expand Down

0 comments on commit 6f0be9a

Please sign in to comment.