From 33230f6b82b0e3c7035edea61aa42cd3a9411d06 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Tue, 25 Mar 2025 12:28:32 -0300 Subject: [PATCH] update scripts --- apply-patches.sh | 2 +- compile.sh | 2 +- format-patches.sh | 2 +- reset-companion-repo.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apply-patches.sh b/apply-patches.sh index 5215f77..a25a039 100755 --- a/apply-patches.sh +++ b/apply-patches.sh @@ -1,4 +1,4 @@ #!/bin/sh -cd ./invidious-companion +cd ./invidious-companion || exit git am ../patches/*.patch \ No newline at end of file diff --git a/compile.sh b/compile.sh index 64f69b1..f870d54 100755 --- a/compile.sh +++ b/compile.sh @@ -1,4 +1,4 @@ #!/bin/sh -cd ./invidious-companion +cd ./invidious-companion || exit deno compile --include ./src/lib/helpers/youtubePlayerReq.ts --include ./src/lib/helpers/getFetchClient.ts --output ../invidious_companion --allow-import=github.com:443,jsr.io:443,raw.githubusercontent.com:443,esm.sh:443,deno.land:443 --allow-net --allow-env --allow-read --allow-sys=hostname --allow-write=/var/tmp/youtubei.js src/main.ts \ No newline at end of file diff --git a/format-patches.sh b/format-patches.sh index 6290455..b4e6fdc 100755 --- a/format-patches.sh +++ b/format-patches.sh @@ -1,4 +1,4 @@ #!/bin/sh -cd ./invidious-companion +cd ./invidious-companion || exit git format-patch origin/HEAD --output-directory ../patches \ No newline at end of file diff --git a/reset-companion-repo.sh b/reset-companion-repo.sh index 369af72..f9a76dd 100755 --- a/reset-companion-repo.sh +++ b/reset-companion-repo.sh @@ -1,4 +1,4 @@ #!/bin/sh -cd ./invidious-companion +cd ./invidious-companion || exit git reset --hard origin/HEAD \ No newline at end of file