1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-11-11 15:48:51 +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); const manifest = require(manifestPath);
if (args.type === "alpha" || args.type === "rc"){ if (args.type === "alpha" || args.type === "rc"){
manifest.name = "CanvasBlocker-Beta"; manifest.name = "CanvasBlocker-Beta";
manifest.applications.gecko.id = "CanvasBlocker-Beta@kkapsner.de"; manifest.browser_specific_settings.gecko.id = "CanvasBlocker-Beta@kkapsner.de";
} }
else { else {
manifest.name = "CanvasBlocker"; manifest.name = "CanvasBlocker";
manifest.applications.gecko.id = "CanvasBlocker@kkapsner.de"; manifest.browser_specific_settings.gecko.id = "CanvasBlocker@kkapsner.de";
delete manifest.applications.gecko.update_url; delete manifest.browser_specific_settings.gecko.update_url;
} }
if (args.type === "alpha"){ if (args.type === "alpha"){
manifest.version = getAlphaVersion(manifest); manifest.version = getAlphaVersion(manifest);