upgpkg: discord-electron 0.0.27-2
Update Discord launcher script (Original by Zoddo) Add libxss as dependency to fix Discord corruption warning Add install script to notify user about discord-flags.conf Remove duplicate Path variable in .desktop file Update contributor list
This commit is contained in:
parent
c21344130c
commit
b09bd231d5
4 changed files with 63 additions and 36 deletions
18
discord-electron/discord-electron.install
Normal file
18
discord-electron/discord-electron.install
Normal file
|
@ -0,0 +1,18 @@
|
|||
post_upgrade() {
|
||||
# return if old package version is greater than or equal to 0.0.27-2...
|
||||
(( $(vercmp $2 '0.0.27-2') >= 0 )) && return
|
||||
|
||||
cat <<EOF
|
||||
==> You can now add or uncomment additional Electron flags in
|
||||
'~/.config/discord-flags.conf' (if XDG_CONFIG_HOME is not set)
|
||||
|
||||
EOF
|
||||
}
|
||||
|
||||
post_install() {
|
||||
cat <<EOF
|
||||
==> In case of performance problems consider adding or uncommenting Electron
|
||||
flags in '~/.config/discord-flags.conf' (if XDG_CONFIG_HOME is not set)
|
||||
|
||||
EOF
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue