summarylogtreecommitdiffstats
path: root/discord_arch_electron.install
blob: f400a05931e391ac351c3341daa00b95e87c6af8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
post_upgrade() {
	# return if old package version is greater than or equal to 0.0.55-2...
	(( $(vercmp $2 '0.0.55-2') >= 0 )) && return

	cat <<EOF
==> In order to patch Krisp noise suppression support set 'PATCH_KRISP=true'
    in '~/.config/discord.conf' and install the necessary optional dependencies.
EOF
}

post_install() {
	cat <<EOF
==> For Krisp noise suppression support consider installing the necessary optional
    dependencies and setting 'PATCH_KRISP=true' in '~/.config/discord.conf'.
    Restart your Discord client afterwards to apply the patch.
==> In case of performance problems consider setting additional flags
    in '~/.config/discord-flags.conf'.
EOF
}