diff --git a/RAnki/install.sh b/RAnki/install.sh new file mode 100644 index 0000000..26fed37 --- /dev/null +++ b/RAnki/install.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +curl -fSL --progress-bar -o /mnt/us/extensions/ranki.zip https://github.com/crazy-electron/ranki/releases/latest/download/ranki.zip +cd /mnt/us/extensions/ +unzip ranki.zip +rm ranki.zip +cp ranki/shortcut_ranki.sh ../documents/shortcut_ranki.sh + +exit 0 diff --git a/RAnki/uninstall.sh b/RAnki/uninstall.sh new file mode 100644 index 0000000..195f795 --- /dev/null +++ b/RAnki/uninstall.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +cd /mnt/us/documents/ +rm -f shortcut_ranki.sh +rm -rf ../extensions/ranki/ + +exit 0 diff --git a/README.md b/README.md index 5cb24c5..fc6f3e6 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,10 @@ Current packages (22): - Toggle ADs - UpdateBlock Status - LARKPlayer +- RAnki - Alpine Linux Credits: - Dammit Jeff (KOReader, Gambatte-K2, ToggleAds, UpdateBlock Icons) -- GreenCat777 (Alpine Linux install.sh, uninstall.sh) +- GreenCat777 (Alpine Linux install.sh, uninstall.sh. RAnki install.sh, uninstall.sh) diff --git a/registry.json b/registry.json index a71da4a..d8664c7 100644 --- a/registry.json +++ b/registry.json @@ -79,6 +79,15 @@ "dependencies": [], "tags": ["GAMES"] }, + { + "name": "RAnki", + "uri": "RAnki", + "description": "Real Anki, with the real backend", + "author": "CrazyElectron", + "ABI": ["hf", "sf"], + "dependencies": [], + "tags": ["PRODUCTIVITY"] + }, { "name": "KWordle", "uri": "KWordle",