mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 22:13:41 +08:00
15 lines
215 B
Bash
15 lines
215 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
PROJECTS=$(dirname "$0")/../..
|
||
|
|
||
|
function updateClient() {
|
||
|
pushd clients/$1
|
||
|
git fetch
|
||
|
git reset FETCH_HEAD --hard
|
||
|
popd
|
||
|
git add clients/$1
|
||
|
}
|
||
|
|
||
|
updateClient "apple"
|
||
|
updateClient "android"
|