blob: 02151974ea63bbb4eb67ce3eec7ffdea9386c99d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
post_install() {
echo 'Clash for Windows has it own built-in autostart since 0.18.1.'
echo 'Enable it will create .desktop file under $HOME/.config/autostart/'
echo -e "\033[32m To use the TUN mode, you need to run \033[0m"
echo -e "\033[32m sudo systemctl start clash-core-service@\$USER \033[0m"
echo -e "\033[32m sudo systemctl enable clash-core-service@\$USER \033[0m"
echo -e "\033[32m and change tun.dns-hijack to 198.18.0.2:53 \033[0m"
}
post_upgrade(){
post_install
}
|