# Version 2.2.1-2 upgrade notice
post_upgrade() {
    if [[ "${1}" == "2.2.1-2" ]]; then
        echo ""
        note_header "UPGRADE INFORMATION ABOUT VERSION 2.2.1-2:"
        echo ""
        note "Starting with this version, the AppImage is extracted at build"
        note "time and pCloud Drive runs from that extracted copy instead of"
        note "a mounted AppImage."
        note ""
        note "This PKGBUILD was edited with the help of an LLM. If anything"
        note "looks off, please report it on the AUR package page."
        echo ""
    fi
}
# Pacman-like colors
reset="$(tput sgr0)"
bold="${reset}$(tput bold)"
blue="${bold}$(tput setaf 4)"
yellow="${bold}$(tput setaf 3)"
note_header() {
    printf "${yellow}==> NOTE: ${bold}$1${reset}\n"
}
note() {
    printf "${blue}  -> ${bold}$1${reset}\n"
}

