diff --git a/i.sh b/i.sh new file mode 100644 index 0000000..2de6e51 --- /dev/null +++ b/i.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +if [[ $1 == "release" ]] +then + curl -sSL https://github.com/tmiland/Invidious-Updater/releases/latest/download/invidious_update.sh > invidious_update.sh && \ + chmod +x invidious_update.sh && \ + "$(pwd)"/invidious_update.sh -i +else + curl -sSL https://github.com/tmiland/Invidious-Updater/raw/master/invidious_update.sh > invidious_update.sh && \ + chmod +x invidious_update.sh && \ + "$(pwd)"/invidious_update.sh -i +fi