Skip to content

Commit

Permalink
Don't forget the testing manifest script.
Browse files Browse the repository at this point in the history
  • Loading branch information
SirStendec committed Oct 12, 2024
1 parent 5cb8b92 commit 3d69d75
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/calculate-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ADDONS_MESSAGE=$(git log -1 --pretty=format:%B)
cd ..

# Determine which commit message is most recent
if [ "$LAST_MODIFIED" -gte "$ADDONS_LAST" ]; then
if [ "$LAST_MODIFIED" -gt "$ADDONS_LAST" ]; then
LATEST_MESSAGE="$CLIENT_MESSAGE"
else
LATEST_MESSAGE="$ADDONS_MESSAGE"
Expand Down
10 changes: 10 additions & 0 deletions scripts/testing-manifest.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const fs = require('fs');

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}`;

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

0 comments on commit 3d69d75

Please sign in to comment.