Files
sing-box-extended-mirror/.github/update_clients.sh
T

16 lines
250 B
Bash
Executable File

#!/usr/bin/env bash
PROJECTS=$(dirname "$0")/../..
function updateClient() {
pushd clients/$1
git fetch origin main
git reset FETCH_HEAD --hard
popd
git add clients/$1
}
updateClient "apple"
updateClient "android"
updateClient "desktop"