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

Commit

Permalink
Upgrade permissions fix
Browse files Browse the repository at this point in the history
Explicitly removing them is unnecessary (it appears to remove them when updating). Was throwing error 'You cannot remove required permissions.'
  • Loading branch information
williamparry committed Feb 6, 2018
1 parent f547e37 commit ca9d11e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/js/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,6 @@ function Model() {
});

}
if(versionCompare("2.1.3", checkVersion) > 0) {
chrome.permissions.remove({
permissions: ['<all_urls>', 'clipboardWrite', 'clipboardRead', 'tabs']
});
}

}

Expand Down

0 comments on commit ca9d11e

Please sign in to comment.