From 6918abb5b2009c025de99ae8a75e5ce3dde55e77 Mon Sep 17 00:00:00 2001 From: FelisCatus Date: Tue, 16 Dec 2014 19:51:16 +0800 Subject: [PATCH] Initialize revision of the rulelist profile on upgrade. --- omega-target-chromium-extension/src/upgrade.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/omega-target-chromium-extension/src/upgrade.coffee b/omega-target-chromium-extension/src/upgrade.coffee index 5d1acfa9..30e81227 100644 --- a/omega-target-chromium-extension/src/upgrade.coffee +++ b/omega-target-chromium-extension/src/upgrade.coffee @@ -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