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 13, 2019
1 parent 709bf6b commit a6beb3a
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 @@
# Modoki Moon
![Preview](http://i65.tinypic.com/2wqefjm.png)

Remake of the [Modern Modoki](https://addons.mozilla.org/firefox/addon/modern-modoki/) theme for Pale Moon.
Remake of the "Modern Modoki" theme for Pale Moon.

## 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/modoki-moon/).
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/modoki-moon/).
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=modokimoon
VER=${1:-dev}
rm $NAME-$VER-pm.xpi
cd src/
zip -qr9XD ../$NAME-$VER-pm.xpi *

0 comments on commit a6beb3a

Please sign in to comment.