Skip to content

Commit

Permalink
[WFX-197] Update script to download latest Lepton.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlex94 committed Sep 23, 2022
1 parent 4b516af commit 1f1e391
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions waterfox/browser/themes/lepton/waterfox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
# Make sure to execute from the scripts directory
cd $(dirname $0)

## Download latest release, override icons and CSS
mkdir -p tmp
curl -LJ `curl -s https://api.github.com/repos/black7375/Firefox-UI-Fix/releases/latest | python3 -c 'import sys, json; print(json.load(sys.stdin)["tarball_url"])'` | tar -zxf - --strip 1 -C tmp
mv -f tmp/icons/* icons
mv -f tmp/css/leptonChrome.css leptonChrome.css
mv -f tmp/css/leptonContent.css leptonContent.css
rm -r tmp

## Replace Path
# `./icons/` to `chrome://browser/skin/lepton/`
replace_icon_path() {
Expand Down

0 comments on commit 1f1e391

Please sign in to comment.