Skip to content

Commit

Permalink
Add UPGRADE_EXTENSIONS env for devtools-installer (#263)
Browse files Browse the repository at this point in the history
* Add UPGRADE_EXTENSIONS env for devtools-installer
* Bump electron-devtools-installer version
  • Loading branch information
jhen0409 authored Jul 2, 2016
1 parent bcce682 commit 9978fab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion main.development.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ const installExtensions = async () => {
'REACT_DEVELOPER_TOOLS',
'REDUX_DEVTOOLS'
];
const forceDownload = !!process.env.UPGRADE_EXTENSIONS;
for (const name of extensions) {
try {
await installer.default(installer[name]);
await installer.default(installer[name], forceDownload);
} catch (e) {} // eslint-disable-line
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"css-loader": "^0.23.1",
"del": "^2.2.0",
"devtron": "^1.2.0",
"electron-devtools-installer": "^1.1.2",
"electron-devtools-installer": "^1.1.5",
"electron-packager": "^7.0.2",
"electron-prebuilt": "^1.2.3",
"electron-rebuild": "^1.1.4",
Expand Down

0 comments on commit 9978fab

Please sign in to comment.