feat: add script to create .xpi files

This commit is contained in:
spooky 2022-12-16 20:39:43 +05:30 committed by GitHub
commit 2c2e9dc5ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
114 changed files with 20 additions and 1 deletions

View File

@ -39,7 +39,7 @@
1. Clone this repository 1. Clone this repository
2. Open Thunderbird, go to `Menu > Add-ons and Themes` 2. Open Thunderbird, go to `Menu > Add-ons and Themes`
3. Click on the gear icon at the top-right corner and then select "Install Add-on From File..." 3. Click on the gear icon at the top-right corner and then select "Install Add-on From File..."
4. Select a theme of choice from `themes` folder of downloaded repository, i.e. `Catppuccin-Mocha-Lavender.zip` 4. Select a theme of choice from `themes` folder of downloaded repository, i.e. `Catppuccin-Mocha-Lavender.xpi`
## 💝 Thanks to ## 💝 Thanks to

19
src/create_zips.sh Executable file
View File

@ -0,0 +1,19 @@
#!/bin/bash
which zip &>/dev/null || (echo "This script requires `zip`" && exit 1)
for folder in * ;
do
if [ -d "$folder" ];
then
cd "${folder}"
echo "Creating ${folder}.xpi"
if [ -f "../../themes/${folder}.xpi" ];
then
rm "../../themes/${folder}.xpi"
fi
zip -r -q -9 ../../themes/${folder}.xpi .
cd ..
fi
done

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More