Skip to content

Commit

Permalink
Fix a typo in testing manifests. Change the Firefox add-on id in test…
Browse files Browse the repository at this point in the history
…ing manifests. Remove SBOM from built archives to avoid differences in builds that Mozilla will inevitably whine about.
  • Loading branch information
SirStendec committed Oct 12, 2024
1 parent 32ad2d4 commit 12ba5d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions scripts/copy-output.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ cp -r client/dist/* dist/web/
cp -r addons/dist/* dist/web/
cp -rf src/* dist/

rm -rf dist/web/bom
rm -rf dist/web/addons-bom

# Find the addons.*.json file and rename it.
shopt -s nocasematch
for file in dist/web/*; do
Expand Down
5 changes: 4 additions & 1 deletion scripts/testing-manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const manifest = JSON.parse(fs.readFileSync('dist/manifest.json'));
manifest.name = 'FrankerFaceZ Testing';
manifest.short_name = 'FFZ-Testing';

manifest.description = `This is the testing Version of FrankerFaceZ. ${manifest.description}`;
manifest.description = `This is the testing version of FrankerFaceZ. ${manifest.description}`;

if (manifest?.browser_specific_settings?.gecko)
manifest.browser_specific_settings.gecko.id = 'testing@frankerfacez.com';

fs.writeFileSync('dist/manifest.json', JSON.stringify(manifest, null, '\t'));

0 comments on commit 12ba5d6

Please sign in to comment.