Compare commits

...

3 Commits

Author SHA1 Message Date
Settel
64bf14f1f9 chore: clean up Makefile 2025-05-09 13:51:23 +02:00
Settel
a9da5e0d37 feat: add pre-flight check if profile directory is present 2025-05-09 13:50:21 +02:00
Settel
e95371ca47 bugfix: explicitly set the Dbus address 2025-05-09 13:46:48 +02:00

View File

@ -2,8 +2,9 @@ VERSION=1.5
SHELL=/bin/bash
PROFILE=default
OPT=
ARGS=
.PHONY: info
.PHONY: info build setup run run-bg stop clean
info:
@echo "available targets:"
@ -19,7 +20,7 @@ run-bg:
$(MAKE) run OPT="-d"
run:
[ -d "/var/spool/teams-pwa/$(PROFILE)" ] || $(MAKE) setup
[ -d "/var/spool/teams-pwa/$(PROFILE)" ]
podman run $(OPT) -it \
--rm \
--net host \
@ -27,6 +28,7 @@ run:
--userns=keep-id:uid=1000,gid=1000 \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v /run/dbus/system_bus_socket:/run/dbus/system_bus_socket \
-e DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket \
-e DISPLAY=unix$$DISPLAY \
-e XAUTHORITY=/home/chromium/.Xauthority \
-v $$HOME/.Xauthority:/home/chromium/.Xauthority \