From 4dfa614db22fbe3109855da1972795040ed9649d Mon Sep 17 00:00:00 2001 From: jschantli Date: Wed, 7 Oct 2026 18:42:15 -0700 Subject: [PATCH] Use --filesystem backend for silent GNOME extension installs --- postinstall.sh | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/postinstall.sh b/postinstall.sh index ed35a96..8edc8de 100644 --- a/postinstall.sh +++ b/postinstall.sh @@ -512,23 +512,18 @@ install_gnome_extensions() { # Define the tool path explicitly to avoid 'pipx run' overhead/warnings EXTENSION_TOOL="$HOME/.local/bin/gnome-extensions-cli" - log_info "Installing GNOME extensions..." - log_info "NOTE: A popup may appear asking you to confirm installation for each extension." - log_info "If the extension is already installed, no popup will appear." + log_info "Installing GNOME extensions without user prompts (--filesystem backend)..." for extension in "${GNOME_EXTENSIONS[@]}"; do log_info "Processing $extension..." - # Install (using the direct binary path) - "$EXTENSION_TOOL" install "$extension" + # Install using the filesystem backend to bypass the GUI confirmation popups + "$EXTENSION_TOOL" --filesystem install "$extension" check_status "GNOME Extension $extension" "non-critical" # Attempt to enable the extension (in case it's installed but disabled) log_info "Ensuring $extension is enabled..." - gnome-extensions enable "$extension" - - # Prompt user to press Enter to continue - read -p "Press Enter to continue (if a popup appeared, confirm it first)..." + gnome-extensions enable "$extension" || true done log_info "Installing waywallen-display extension from GitHub..."