migration fixes

This commit is contained in:
2026-10-26 15:51:56 -06:00
parent 32ac3828cb
commit e771d305b1
4 changed files with 19 additions and 16 deletions
+3 -6
View File
@@ -1,5 +1,7 @@
#!/bin/bash
source "$HOME/.local/share/coredesktop/utils.sh"
is_installed() {
command -v gnome-shell &>/dev/null
}
@@ -7,12 +9,7 @@ is_installed() {
run_update() {
echo "Updating GNOME extensions..."
# Reinstall gext if missing or broken (e.g. its pipx venv went stale after a Python upgrade)
if ! ~/.local/bin/gext --version &> /dev/null; then
echo "gext missing or broken, reinstalling..."
pipx uninstall gnome-extensions-cli 2>/dev/null || true
pipx install --python "$(which python3)" gnome-extensions-cli --system-site-packages
fi
ensure_gext || return 1
# Update every enabled user extension to the latest version for this GNOME Shell.
# The filesystem backend writes directly to ~/.local/share/gnome-shell/extensions;