From 6575e58464e96fda3f7bc06f7b81eac4a10c7b54 Mon Sep 17 00:00:00 2001 From: wheaney <42350981+wheaney@users.noreply.github.com> Date: Sun, 28 Jul 2024 08:52:06 -0700 Subject: [PATCH] Add schema compilation, needed for GNOME 43 and 42 setup Later versions do this automatically --- gnome/bin/setup | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnome/bin/setup b/gnome/bin/setup index 616dc42..3bd001b 100755 --- a/gnome/bin/setup +++ b/gnome/bin/setup @@ -4,13 +4,14 @@ set -e check_command() { if ! command -v "$1" &>/dev/null; then - echo "Please install \"$1\" and make sure it's available in your \$PATH" + echo "Please install \"$1\" and make sure it's available in your \$PATH, then rerun the setup." exit 1 fi } check_command "flatpak" check_command "gnome-extensions" +check_command "glib-compile-schemas" # This script gets packaged with the release and should do the bulk of the setup work. This allows this setup to be tied # to a specific release of the code, and guarantees it will never run along-side newer or older binaries. @@ -78,8 +79,10 @@ echo "Copying the manifest file to ${DATA_DIR}" mkdir -p $DATA_DIR cp manifest $DATA_DIR -echo "Installing the breezydesktop@xronlinux.com GNOME extension" -gnome-extensions install --force breezydesktop@xronlinux.com.shell-extension.zip +EXTENSION_UUID="breezydesktop@xronlinux.com" +echo "Installing the $EXTENSION_UUID GNOME extension" +gnome-extensions install --force "$EXTENSION_UUID.shell-extension.zip" +glib-compile-schemas "$GNOME_SHELL_DATA_DIR/extensions/$EXTENSION_UUID/schemas" echo "Installing the Breezy Desktop UI Flatpak (this may take a couple minutes the first time)" flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo