Index: lib/prefs.js |
=================================================================== |
--- a/lib/prefs.js |
+++ b/lib/prefs.js |
@@ -28,19 +28,19 @@ let defaults = { |
data_directory: "", |
savestats: false, |
privateBrowsing: false, |
subscriptions_fallbackerrors: 5, |
subscriptions_fallbackurl: "https://adblockplus.org/getSubscription?version=%VERSION%&url=%SUBSCRIPTION%&downloadURL=%URL%&error=%ERROR%&channelStatus=%CHANNELSTATUS%&responseStatus=%RESPONSESTATUS%", |
subscriptions_autoupdate: true, |
subscriptions_exceptionsurl: "https://easylist-downloads.adblockplus.org/exceptionrules.txt", |
documentation_link: "https://adblockplus.org/redirect?link=%LINK%&lang=%LANG%", |
- update_url_release: "https://updates.adblockplus.org/%NAME%/update.json", |
- update_url_devbuild: "https://adblockplus.org/devbuilds/%s/update.json", |
- last_update: 0 |
+ update_url_release: "https://updates.adblockplus.org/%NAME%/update.json?id=%ID%&version=%VERSION%&app=%APP%&type=%TYPE%", |
+ update_url_devbuild: "https://adblockplus.org/devbuilds/%s/update.json?id=%ID%&version=%VERSION%&app=%APP%&type=%TYPE%", |
+ next_update_check: 0 |
}; |
let values = Object.create(defaults); |
let path = _fileSystem.resolve("prefs.json"); |
let listeners = []; |
let isDirty = false; |
let isSaving = false; |