upgpkg: discord 0.0.94-2: Upgrade again to electron36 with workaround for GTK bug

Until the bug is fixed upstream, we force Discord to run on gtk3, as per the
recommendation in the upstream issue:
https://github.com/electron/electron/issues/46538#issuecomment-2790356082
This commit is contained in:
Zoddo 2025-05-15 23:48:43 +02:00
parent e65a046648
commit 6d5437d3af
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: D8BC117B5ED86DED
3 changed files with 8 additions and 7 deletions

View file

@ -35,4 +35,5 @@ done
exec /usr/bin/${electron} \
/usr/share/${name}/resources/app.asar \
--ozone-platform-hint=auto \
--gtk-version=3 \ # Workaround for bug in electron36: https://github.com/electron/electron/issues/46538#issuecomment-2790356082
"${flags[@]}" "$@"