version bump net-im/discord to 0.97
This commit is contained in:
net-im/discord
21
net-im/discord/files/launcher.sh
Normal file
21
net-im/discord/files/launcher.sh
Normal file
@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
# coding: UTF-8
|
||||
|
||||
|
||||
declare -a discord_parameters
|
||||
|
||||
# Variables set during ebuild configuration
|
||||
EBUILD_SECCOMP=false
|
||||
EBUILD_WAYLAND=false
|
||||
|
||||
"${EBUILD_SECCOMP}" || discord_parameters+=( --disable-seccomp-filter-sandbox )
|
||||
|
||||
"${EBUILD_WAYLAND}" && \
|
||||
[[ -n "${WAYLAND_DISPLAY}" ]] && discord_parameters+=(
|
||||
--enable-features=UseOzonePlatform
|
||||
--ozone-platform=wayland
|
||||
--enable-wayland-ime
|
||||
--disable-gpu-memory-buffer-video-frames
|
||||
)
|
||||
|
||||
@@DESTDIR@@/Discord "${discord_parameters[@]}" "$@"
|
Reference in New Issue
Block a user