mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-06 11:37:02 +03:00
Fixed beta builds
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"name": "__MSG_betaName__"
|
"name": "BETA - SponsorBlock"
|
||||||
}
|
}
|
||||||
|
|
||||||
8
manifest/firefox-beta-manifest-extra.json
Normal file
8
manifest/firefox-beta-manifest-extra.json
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"browser_specific_settings": {
|
||||||
|
"gecko": {
|
||||||
|
"id": "sponsorBlockerBETA@ajay.app"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@@ -423,9 +423,6 @@
|
|||||||
"whatUnlistedCheck": {
|
"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."
|
"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": {
|
"mobileUpdateInfo": {
|
||||||
"message": "m.youtube.com is now supported"
|
"message": "m.youtube.com is now supported"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ const manifest = require("../manifest/manifest.json");
|
|||||||
const firefoxManifestExtra = require("../manifest/firefox-manifest-extra.json");
|
const firefoxManifestExtra = require("../manifest/firefox-manifest-extra.json");
|
||||||
const chromeManifestExtra = require("../manifest/chrome-manifest-extra.json");
|
const chromeManifestExtra = require("../manifest/chrome-manifest-extra.json");
|
||||||
const betaManifestExtra = require("../manifest/beta-manifest-extra.json");
|
const betaManifestExtra = require("../manifest/beta-manifest-extra.json");
|
||||||
|
const firefoxBetaManifestExtra = require("../manifest/firefox-beta-manifest-extra.json");
|
||||||
|
|
||||||
// schema for options object
|
// schema for options object
|
||||||
const schema = {
|
const schema = {
|
||||||
@@ -46,6 +47,10 @@ class BuildManifest {
|
|||||||
|
|
||||||
if (this.options.stream === "beta") {
|
if (this.options.stream === "beta") {
|
||||||
mergeObjects(manifest, betaManifestExtra);
|
mergeObjects(manifest, betaManifestExtra);
|
||||||
|
|
||||||
|
if (this.options.browser.toLowerCase() === "firefox") {
|
||||||
|
mergeObjects(manifest, firefoxBetaManifestExtra);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let result = JSON.stringify(manifest);
|
let result = JSON.stringify(manifest);
|
||||||
|
|||||||
Reference in New Issue
Block a user