summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-05-22 17:09:25 +0200
committerewy <ewy0@protonmail.com>2026-05-22 17:09:25 +0200
commit4d54d744597e58964010f0d275bb0579bda9c98d (patch)
tree4059f985b7c6961fbb27a9b16c04ce441d708422 /main.go
parent723fd084ddd686195879e1179bf3c530f19990fd (diff)
add ui to headful init
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/main.go b/main.go
index 7db9434..c3f60ac 100644
--- a/main.go
+++ b/main.go
@@ -42,8 +42,14 @@ func main() {
root := must(os.OpenRoot(*Profile))
defer root.Close()
go func() { must[any](nil, ingest.AddProfile(root.FS(), 0)) }()
- must[any](nil, storage.UI())
+ if err != nil {
+
+ }
if !*storage.Headless {
+ err = storage.UI()
+ if err != nil {
+ spool.Warn("ui: %v\n", err)
+ }
exec.Command("xdg-open", "http://localhost:4213/").Run()
}