aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Brunschwig <[email protected]>2021-06-09 19:11:50 +0200
committerPatrick Brunschwig <[email protected]>2021-06-13 08:46:00 +0200
commita501dff4118805ca682a0773d5b169aae59d1444 (patch)
treebe5d6901654cf97eb7ec74346c9a069fdccdb333
parent12d9e583e852c791144a6cb799a9ac4eb8f242c8 (diff)
downloadenigmail-a501dff4118805ca682a0773d5b169aae59d1444.tar.gz
enigmail-a501dff4118805ca682a0773d5b169aae59d1444.tar.bz2
enigmail-a501dff4118805ca682a0773d5b169aae59d1444.zip
added function to get application version
-rw-r--r--package/app.jsm4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/app.jsm b/package/app.jsm
index 496a9d31..bdbe4c5d 100644
--- a/package/app.jsm
+++ b/package/app.jsm
@@ -33,6 +33,10 @@ var EnigmailApp = {
return Cc[XPCOM_APPINFO].getService(Ci.nsIXULAppInfo).platformVersion;
},
+ getApplicationVersion: function() {
+ return Cc[XPCOM_APPINFO].getService(Ci.nsIXULAppInfo).version;
+ },
+
/**
* Return the directory holding the current profile as nsIFile object
*/