feat: upgrade to gnome 49

This commit is contained in:
Lucas Oskorep
2025-09-24 00:55:13 -04:00
parent 744893764a
commit 80b9b9b36b
8 changed files with 687 additions and 674 deletions
+5 -7
View File
@@ -8,26 +8,23 @@ all: dist/extension.js
node_modules: package.json
pnpm install
dist/extension.js dist/prefs.js: node_modules
dist/extension.js : node_modules
tsc
schemas/gschemas.compiled: schemas/org.gnome.shell.extensions.$(NAME).gschema.xml
glib-compile-schemas schemas
#
$(NAME).zip: dist/extension.js dist/prefs.js schemas/gschemas.compiled
@cp -r schemas dist/
@rm -rf dist/*
@cp metadata.json dist/
@cp stylesheet.css dist/
@mkdir dist/schemas
@cp schemas/*.compiled dist/schemas/
@(cd dist && zip ../$(NAME).zip -9r .)
pack: $(NAME).zip
install: $(NAME).zip
@mkdir -p ~/.local/share/gnome-shell/extensions/$(NAME)@$(DOMAIN)
@rm -rf /.local/share/gnome-shell/extensions/$(NAME)@$(DOMAIN)/*
@cp dist/* ~/.local/share/gnome-shell/extensions/$(NAME)@$(DOMAIN)/
clean:
@rm -rf dist node_modules $(NAME).zip
@@ -35,4 +32,5 @@ clean:
test:
@dbus-run-session -- gnome-shell --nested --wayland
.PHONY: install-and-test
install-and-test: install test