Files
invidious/update.sh
T
2025-06-27 13:54:34 +02:00

27 lines
377 B
Bash
Executable File

#!/usr/bin/env bash
mode=$1
if [ "$mode" == "invidious" ]; then
cd build
git checkout .
git restore .
git reset
git clean -fd
git pull --recurse-submodules
fi
if [ "$mode" == "companion" ]; then
cd companion
git checkout .
git restore .
git reset
git clean -fd
git pull
fi