From 7e818ff7c96a53a77e14142ada7bd5b367d82d75 Mon Sep 17 00:00:00 2001 From: Tommy Miland Date: Sun, 6 Oct 2024 16:58:40 +0200 Subject: [PATCH] Create i.sh --- i.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 i.sh 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