mirror of
https://github.com/KDE/kde-linux.git
synced 2026-05-19 14:04:06 -04:00
Ensure RUNTIME_ARCH is set
Broke this in my previous commit. Oops.
This commit is contained in:
@@ -15,6 +15,10 @@ flatpak override --system org.mozilla.firefox \
|
||||
--filesystem=xdg-config/gtk-3.0:ro \
|
||||
--filesystem=xdg-run/speech-dispatcher:ro
|
||||
|
||||
# Get the architecture from the runtime.
|
||||
RUNTIME_REF="$(flatpak info org.mozilla.firefox 2>/dev/null | grep -E 'Runtime:' | awk '{print $2}')"
|
||||
RUNTIME_ARCH="$(echo "$RUNTIME_REF" | cut -d'/' -f2)"
|
||||
|
||||
# Install the KDE Linux default Firefox config into the Firefox flatpak system config extension.
|
||||
# This enables hardware acceleration on NVIDIA but can break it on other cards,
|
||||
# so this should only be done conditionally.
|
||||
|
||||
Reference in New Issue
Block a user