1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-22 12:50:36 +01:00

Fix alpha building tool

This commit is contained in:
kkapsner 2023-03-22 13:04:09 +01:00
parent 7cd4b2e9fa
commit 2cefed00a7

View File

@ -37,12 +37,12 @@ async function run(){
const manifest = require(manifestPath);
if (args.type === "alpha" || args.type === "rc"){
manifest.name = "CanvasBlocker-Beta";
manifest.applications.gecko.id = "CanvasBlocker-Beta@kkapsner.de";
manifest.browser_specific_settings.gecko.id = "CanvasBlocker-Beta@kkapsner.de";
}
else {
manifest.name = "CanvasBlocker";
manifest.applications.gecko.id = "CanvasBlocker@kkapsner.de";
delete manifest.applications.gecko.update_url;
manifest.browser_specific_settings.gecko.id = "CanvasBlocker@kkapsner.de";
delete manifest.browser_specific_settings.gecko.update_url;
}
if (args.type === "alpha"){
manifest.version = getAlphaVersion(manifest);