From 24fd8a98c300283e3cf46bdc5f2a25b524bbf079 Mon Sep 17 00:00:00 2001 From: idk Date: Sat, 4 Jan 2020 13:06:32 -0500 Subject: [PATCH] add a magnet link --- Makefile | 4 +++- README.md | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8ed8e9f..77bce09 100644 --- a/Makefile +++ b/Makefile @@ -64,6 +64,8 @@ amo-readme: sed 's|||g' | \ grep -v ' amo-index.html +MAGNET=`torrent2magnet i2ppb@eyedeekay.github.io.xpi.torrent` + index: @echo "" > index.html @echo "" >> index.html @@ -71,7 +73,7 @@ index: @echo " I2P in Private Browsing Mode" >> index.html @echo " " >> index.html @echo "" >> index.html - markdown README.md >> index.html + sed "s|magnet|$(TORRENT)|g" README.md >> index.html @echo "" >> index.html diff --git a/README.md b/README.md index 4edf2e9..ecfa711 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ Bittorrent Download: The self-hosted plugin is available from I2P both within the I2P and Clearnet Bittorrent network. + * magnetsub * [Get the .torrent file](./i2ppb@eyedeekay.github.io.xpi.torrent) Usage: