parent
204093d023
commit
caa866a067
3 changed files with 14 additions and 3 deletions
|
@ -79,4 +79,8 @@ For packaging info, see:
|
|||
|
||||
---
|
||||
|
||||
Based on the [librewolf-allow-dark](https://aur.archlinux.org/packages/librewolf-allow-dark) AUR package, directly copying `allow_dark.patch` from it. `librewolf.desktop` and `librewolf.ico` are grabbed from [bsys6](https://codeberg.org/librewolf/bsys6).
|
||||
- Based on the [librewolf-allow-dark](https://aur.archlinux.org/packages/librewolf-allow-dark) AUR package, directly copying `allow_dark.patch` from it.
|
||||
- `librewolf.desktop` and `librewolf.ico` are grabbed from [bsys6](https://codeberg.org/librewolf/bsys6).
|
||||
- Bocchi the Firefox was created by Dr Blobfish - [here](https://im-in.space/@drblobfish/114167110488757878).
|
||||
- The original image wasn't square, so it was modified by adding 8 pixels of transparency on the left and right sides using `convert bocchi-the-firefox.png -gravity center -background transparent -extent 516x516 bocchi-the-firefox.png`
|
||||
- It's then converted and resized to match all the original Librewolf images.
|
||||
|
|
BIN
bocchi-the-firefox.png
Normal file
BIN
bocchi-the-firefox.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 87 KiB |
|
@ -42,13 +42,20 @@ export MOZ_NOSPAM=1
|
|||
cd $workdir
|
||||
tar -xvf ./librewolf-$version/obj-x86_64-pc-linux-gnu/dist/librewolf-$version.en-US.linux-x86_64.tar.xz
|
||||
cd ./librewolf/
|
||||
apt install zstd -y
|
||||
apt install zstd imagemagick -y
|
||||
mkdir -p $built_dir
|
||||
rm ./pingsender
|
||||
rm ./precomplete
|
||||
rm ./removed-files
|
||||
curl -L https://codeberg.org/librewolf/bsys6/raw/branch/master/assets/linux.librewolf.desktop.in -o librewolf.desktop
|
||||
curl -LO https://codeberg.org/librewolf/bsys6/raw/branch/master/assets/librewolf.ico
|
||||
convert $SCRIPT_DIR/bocchi-the-firefox.png -resize 256x256 ./librewolf.ico
|
||||
cd ./browser/chrome/icons/default/
|
||||
rm ./*
|
||||
resolutions=(16 32 64 128)
|
||||
for res in "${resolutions[@]}"; do
|
||||
convert $SCRIPT_DIR/bocchi-the-firefox.png -resize ${res}x${res} ./default${res}.png
|
||||
done
|
||||
cd -
|
||||
tar --zstd -cf $built_dir/$program_name.tar.zst .
|
||||
echo $version >$version_file
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue