Skip to content

Instantly share code, notes, and snippets.

View qwerzl's full-sized avatar
😶‍🌫️
Really busy this month

Tom Tang qwerzl

😶‍🌫️
Really busy this month
View GitHub Profile
@qwerzl
qwerzl / update.sh
Last active July 17, 2022 14:30
Clash update subscriptions
#!/bin/bash
DIRECTORY=/etc/clash
URL=[订阅地址]
cd $DIRECTORY
mv ./config.yaml ./config.yaml.bak
curl -L -o config.yaml $URL
CURLSTATUS=$?