summarylogtreecommitdiffstats
path: root/linuxqq-nt-bwrap.install
blob: d7d3570df1305951b07b546cdf0727d7c6ed35ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Colored makepkg-like functions

note() {
    printf "${blue}==>${yellow} NOTE:${bold} $1${all_off}\n"
}

all_off="$(tput sgr0)"
bold="${all_off}$(tput bold)"
blue="${bold}$(tput setaf 4)"
yellow="${bold}$(tput setaf 3)"

post_install() {
    note "要传递给 electron 的自定义参数应该写在: ~/.config/qq-electron-flags.conf"
    note "如果要在 QQ 中下载文件,请先在「设置」->「存储管理」中把下载文件夹更改为系统的“下载”/“Downloads”文件夹。"
}

post_upgrade() {
    post_install
}