###
 # @Author: Cloudflying
 # @Date: 2022-07-26 23:13:02
 # @LastEditTime: 2022-07-26 23:43:28
 # @LastEditors: Cloudflying
 #  @Description: clash for windows install or remove scripts
 # @FilePath: /packages/tmp/aur-temp/clash-for-windows/clash-for-windows-bin.install
### 
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 'You cloud use ln -s /usr/share/applications/clash-for-windows.desktop /etc/xdg/autostart/ to enable auto start when bulit-in\'s not working.'
    # echo 'Installing Service Mode may requires manually restart of program'
}

# pre_remove() {
#    rm -f /etc/xdg/autostart/clash-for-windows.desktop 2>/dev/null
# }