summaryrefslogtreecommitdiffstats
path: root/content/api/BootstrapLoader/implementation.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-17 16:59:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-17 16:59:43 +0000
commita999042131201a55ddf8c0334b570ff41891ef38 (patch)
tree66476823d227771403551b4ad429b3bf95dfb765 /content/api/BootstrapLoader/implementation.js
parentAdding debian version 4.7-1. (diff)
downloadtbsync-a999042131201a55ddf8c0334b570ff41891ef38.tar.xz
tbsync-a999042131201a55ddf8c0334b570ff41891ef38.zip
Merging upstream version 4.8.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'content/api/BootstrapLoader/implementation.js')
-rw-r--r--content/api/BootstrapLoader/implementation.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/content/api/BootstrapLoader/implementation.js b/content/api/BootstrapLoader/implementation.js
index 03e6b76..82e03d5 100644
--- a/content/api/BootstrapLoader/implementation.js
+++ b/content/api/BootstrapLoader/implementation.js
@@ -2,7 +2,7 @@
* This file is provided by the addon-developer-support repository at
* https://github.com/thundernest/addon-developer-support
*
- * Version: 1.21
+ * Version 1.22
*
* Author: John Bieling (john@thunderbird.net)
*
@@ -15,7 +15,8 @@
var { ExtensionCommon } = ChromeUtils.import("resource://gre/modules/ExtensionCommon.jsm");
var { ExtensionSupport } = ChromeUtils.import("resource:///modules/ExtensionSupport.jsm");
var { AddonManager } = ChromeUtils.import("resource://gre/modules/AddonManager.jsm");
-var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
+var Services = globalThis.Services ||
+ ChromeUtils.import("resource://gre/modules/Services.jsm").Services;
function getThunderbirdVersion() {
let parts = Services.appinfo.version.split(".");