summarylogtreecommitdiffstats
path: root/clash-for-windows-bin.install
blob: e513e1f25ad8718269db9a251a9d9db3d71b6f66 (plain)
1
2
3
4
5
6
7
8
9
10
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"
}
post_upgrade(){
    post_install
}