Skip to content

Commit

Permalink
Fixed wrong firefox version when using extensions API (closes #1366)
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-cheff committed Dec 22, 2024
1 parent c5ff01d commit 4792253
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/toolkit/components/extensions/parent/ext-runtime-js.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/toolkit/components/extensions/parent/ext-runtime.js b/toolkit/components/extensions/parent/ext-runtime.js
index ff7aae6e5f1919d8d4ff1c7e85b6150332adc20f..5d935e3d0dfb91cd01268d4e2c4dee4696c33efe 100644
--- a/toolkit/components/extensions/parent/ext-runtime.js
+++ b/toolkit/components/extensions/parent/ext-runtime.js
@@ -331,7 +331,7 @@ this.runtime = class extends ExtensionAPIPersistent {

getBrowserInfo: function () {
const { name, vendor, version, appBuildID } = Services.appinfo;
- const info = { name, vendor, version, buildID: appBuildID };
+ const info = { name, vendor, version: AppConstants.ZEN_FIREFOX_VERSION, buildID: appBuildID };
return Promise.resolve(info);
},

0 comments on commit 4792253

Please sign in to comment.