From 6863bcafd14e7f9ac2bc25b67323db589d6fe752 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 26 Jun 2026 21:56:07 +0900 Subject: cmd/app: optional insecure options These are useful for very specific cases by the maintainer. No app should ever require this. Signed-off-by: Ophestra --- cmd/app/app.go | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'cmd/app/app.go') diff --git a/cmd/app/app.go b/cmd/app/app.go index 59bc93ae..4e4f314d 100644 --- a/cmd/app/app.go +++ b/cmd/app/app.go @@ -207,6 +207,17 @@ func parse( c.SchedPriority = ext.Int(v) continue + case "insecure": + switch value { + case "pipewire": + *c.Enablements |= hst.EPipeWire + c.DirectPipeWire = true + continue + + default: + return nil, fmt.Errorf("invalid insecure flag %q", value) + } + case "env": if key, value, ok = strings.Cut(value, "="); !ok { return nil, fmt.Errorf("invalid environment %q", key) -- cgit v1.3.1