upgpkg: discord-electron 0.0.112-4: remove workaround

Remove Wayland detection workaround again as Electron 38 fix is now upstream
This commit is contained in:
Manuel 2025-10-26 19:35:09 +01:00
parent eeb8d7fef3
commit 54e8fc5c0c
Signed by: Manuel
GPG key ID: 4085037435E1F07A
3 changed files with 4 additions and 11 deletions

View file

@ -32,13 +32,6 @@ for line in "${MAPFILE[@]}"; do
fi
done
if [[ -e "${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
unset flags_file krisp_bin