Skip to content

Commit

Permalink
Initialize revision of the rulelist profile on upgrade.
Browse files Browse the repository at this point in the history
  • Loading branch information
FelisCatus committed Dec 16, 2014
1 parent ab36b6e commit 6918abb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions omega-target-chromium-extension/src/upgrade.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ module.exports = (oldOptions, i18n) ->
nameMap[defaultRule.profileId] || 'direct'
if not config.ruleListEnabled
auto.defaultProfileName = rulelist.defaultProfileName
OmegaPac.Profiles.updateRevision(rulelist)

rules = try JSON.parse(oldOptions['rules'])
if rules
Expand Down

0 comments on commit 6918abb

Please sign in to comment.