diff options
| author | ewy <ewy0@protonmail.com> | 2026-05-22 17:09:25 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-05-22 17:09:25 +0200 |
| commit | 4d54d744597e58964010f0d275bb0579bda9c98d (patch) | |
| tree | 4059f985b7c6961fbb27a9b16c04ce441d708422 | |
| parent | 723fd084ddd686195879e1179bf3c530f19990fd (diff) | |
add ui to headful init
| -rw-r--r-- | main.go | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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() } |
