summarylogtreecommitdiffstats
path: root/clash-premium-bin.install
blob: 537b81cba45a4bc06f911c46ef7db3dae78e62fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
post_install(){
    cat << EOF
    This is the premium core of clash which is close-sourced.
    You can find the manual at https://github.com/Dreamacro/clash/wiki/Premium-Core-Features
EOF
    post_upgrade
}

post_upgrade(){
    echo setcap "cap_net_admin=ep" for usr/bin/clash
    setcap "cap_net_admin=ep" usr/bin/clash
}