Fixed beta builds

This commit is contained in:
Ajay Ramachandran 2020-02-23 20:49:17 -05:00
parent f00337c376
commit 716861da18
4 changed files with 14 additions and 4 deletions

View file

@ -1,4 +1,4 @@
{
"name": "__MSG_betaName__"
"name": "BETA - SponsorBlock"
}

View file

@ -0,0 +1,8 @@
{
"browser_specific_settings": {
"gecko": {
"id": "sponsorBlockerBETA@ajay.app"
}
}
}

View file

@ -423,9 +423,6 @@
"whatUnlistedCheck": {
"message": "This setting will significantly slow down SponsorBlock. Sponsor lookups require sending the video ID to the server. If you are concerned about unlisted video IDs being sent over the internet, enable this option."
},
"betaName": {
"message": "BETA - SponsorBlock"
},
"mobileUpdateInfo": {
"message": "m.youtube.com is now supported"
}

View file

@ -9,6 +9,7 @@ const manifest = require("../manifest/manifest.json");
const firefoxManifestExtra = require("../manifest/firefox-manifest-extra.json");
const chromeManifestExtra = require("../manifest/chrome-manifest-extra.json");
const betaManifestExtra = require("../manifest/beta-manifest-extra.json");
const firefoxBetaManifestExtra = require("../manifest/firefox-beta-manifest-extra.json");
// schema for options object
const schema = {
@ -46,6 +47,10 @@ class BuildManifest {
if (this.options.stream === "beta") {
mergeObjects(manifest, betaManifestExtra);
if (this.options.browser.toLowerCase() === "firefox") {
mergeObjects(manifest, firefoxBetaManifestExtra);
}
}
let result = JSON.stringify(manifest);