1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-18 02:19:18 +00:00

Fix high CPU usage on flatpak (#19006)

This commit is contained in:
Bernd Schoolmann
2026-02-16 12:42:56 +01:00
committed by GitHub
parent 22a6fb1e6d
commit 460b9ccb67

View File

@@ -53,4 +53,8 @@ modules:
- export TMPDIR="$XDG_RUNTIME_DIR/app/$FLATPAK_ID"
- export ZYPAK_LD_PRELOAD="/app/bin/libprocess_isolation.so"
- export PROCESS_ISOLATION_LD_PRELOAD="/app/bin/libprocess_isolation.so"
- exec zypak-wrapper /app/bin/bitwarden-app "$@"
- PARAMS="--enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto"
- if [ "$USE_X11" != "false" ]; then
- PARAMS="--ozone-platform=x11"
- fi
- exec zypak-wrapper /app/bin/bitwarden-app "$@" "$PARAMS"