diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-11-12 05:56:11 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-11-12 06:01:35 +0100 |
commit | e1825f3920385b018f3679cc216314110e62bb05 (patch) | |
tree | a8a21d4cfd93b07c32b0035768c6ac8a34f7094a | |
parent | 1530f898babb7939b22e4235e981a2cf60cd233f (diff) |
Add installation guide to README.md
-rw-r--r-- | README.md | 3 | ||||
-rwxr-xr-x | install.sh | 9 |
2 files changed, 12 insertions, 0 deletions
@@ -2,6 +2,9 @@ Automatically track new releases of media and download them. Currently works with rss for torrent sites (`nyaa.si`) and a for these manga sites: `manganelo.com`, `mangatown.com`, `mangakakalot.com`, `lhtranslation.net`, `mangawindow.net`, `mangaplus.shueisha.co.jp` and `mangadex.org`. A notification is shown on the screen when a download finishes (if notify-send is installed). +## Installation +Run `sudo ./install.sh` to install AutoMedia, or first run `./release.sh` to build it yourself. If you are running Arch Linux, then you can find AutoMedia on aur under the name automedia-git (`yay -S automedia-git`). + AutoMedia checks and downloads updates every 15 minutes. ## Usage Run automedia with `sync` option and keep it running to track media. You can then use `add` option to add new media to track. diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..d19a84b --- /dev/null +++ b/install.sh @@ -0,0 +1,9 @@ +#!/bin/sh -e + +script_dir=$(dirname "$0") +cd "$script_dir" + +install -Dm755 "automedia" "$pkgdir/usr/bin/automedia" +for file in plugins/*; do + install -Dm755 "$file" "$pkgdir/usr/share/automedia/$file" +done |