upgpkg: discord 0.0.112-5: remove workaround
Remove Wayland detection workaround again as Electron 38 fix is now upstream
This commit is contained in:
parent
0338eedbf5
commit
5671d5834e
3 changed files with 4 additions and 11 deletions
|
|
@ -32,13 +32,6 @@ for line in "${MAPFILE[@]}"; do
|
|||
fi
|
||||
done
|
||||
|
||||
if [[ -S "${XDG_RUNTIME_DIR:-}/${WAYLAND_SOCKET:-}" || -e "${WAYLAND_DISPLAY:-}" || "${XDG_SESSION_TYPE:-}" == "wayland" ]]; then
|
||||
# work around electron's broken wayland detection
|
||||
# TODO: remove when Arch updates to an electron release that includes the fix
|
||||
# https://github.com/electron/electron/pull/48301
|
||||
flags+=("--ozone-platform=wayland")
|
||||
fi
|
||||
|
||||
exec /usr/bin/${electron} \
|
||||
/usr/share/${name}/resources/app.asar \
|
||||
"${flags[@]}" "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue