Index: lib/updater.js |
diff --git a/lib/updater.js b/lib/updater.js |
index 4e4fff1c7c32619ef3cf68c55708d0faa3d13115..bcfdd05eadc1dd02c08a1476b36b50d9c65e7b67 100644 |
--- a/lib/updater.js |
+++ b/lib/updater.js |
@@ -17,6 +17,7 @@ |
let {Prefs} = require("prefs"); |
let {Downloader, Downloadable, MILLIS_IN_HOUR} = require("downloader"); |
+const {Services} = Cu.import("resource://gre/modules/Services.jsm", {}); |
let updateUrl = (_appInfo.developmentBuild ? Prefs.update_url_devbuild : Prefs.update_url_release); |
updateUrl = updateUrl.replace(/%NAME%/g, encodeURIComponent(_appInfo.name)); |