Skip to content

Commit

Permalink
Add simple build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Lootyhoof committed Jul 21, 2019
1 parent 8d57cde commit 92eff96
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Past Modern Revisited
![Preview](http://i64.tinypic.com/2dl8bqw.png)

"Modern" theme for Pale Moon, based on the Past Modern theme by Kuden using elements from the SeaMonkey Modern theme.
"Modern" theme for Pale Moon, based on the "Past Modern" theme by Kuden using elements from the SeaMonkey Modern theme.

## Building
Simply download the contents of the "src" folder and pack the contents into a .zip file. Then, rename the file to .xpi and drag into the browser.

On Unix systems (or Windows 10, with [WSL](https://docs.microsoft.com/en-us/windows/wsl/about)) you can optionally run `build.sh` instead. Running this as-is will produce a .xpi file ending in `-dev`, and if run from the command line and appending a number (e.g. `./build.sh 2`) will append that number to the filename instead.

## Download
You can grab the latest release either from the Releases section of this repository, or the [Pale Moon Add-Ons Site](https://addons.palemoon.org/themes/complete/past-modern-revisited/).
You can grab the latest release either from the Releases section of this repository, or the [Pale Moon Add-Ons Site](https://addons.palemoon.org/addon/past-modern-revisited/).
6 changes: 6 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
NAME=pastmodern-revisited
VER=${1:-dev}
rm $NAME-$VER-pm.xpi
cd src/
zip -qr9XD ../$NAME-$VER-pm.xpi *

0 comments on commit 92eff96

Please sign in to comment.