forked from joaophi/tailscale-gnome-qs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (21 loc) · 743 Bytes
/
Copy pathMakefile
File metadata and controls
28 lines (21 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
BUNDLE_PATH = "tailscale@joaophi.github.com.zip"
EXTENSION_DIR = "tailscale@joaophi.github.com"
all: build install
.PHONY: build install clean
build:
rm -f $(BUNDLE_PATH); \
cd $(EXTENSION_DIR); \
gnome-extensions pack --force --podir=locale \
--extra-source=icons/ \
--extra-source=tailscale.js \
--extra-source=timeout.js \
--extra-source=compat.js; \
mv $(EXTENSION_DIR).shell-extension.zip ../$(BUNDLE_PATH)
install:
gnome-extensions install $(BUNDLE_PATH) --force
enable:
dbus-run-session -- gnome-extensions enable tailscale@joaophi.github.com
run:
dbus-run-session -- gnome-shell --nested --wayland
clean:
@rm -fv $(BUNDLE_PATH)