diff options
| author | ewy <ewy0@protonmail.com> | 2026-05-22 20:06:56 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-05-22 20:06:56 +0200 |
| commit | 094846c15f4148c166ac297e26a1248bab0ab5c7 (patch) | |
| tree | d9f671bb0d34b5be52db62636278f5d3e5657283 /main.go | |
| parent | 3ea1ed1362984619b182c0ddf9a6b1dc7ba5bcd0 (diff) | |
add views, expand api, add windows opening thing overridemain
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -50,7 +50,10 @@ func main() { if err != nil { spool.Warn("ui: %v\n", err) } - exec.Command("xdg-open", "http://localhost:4213/").Run() + err = exec.Command(opener, "http://localhost:4213/").Run() + if err != nil { + spool.Warn("ui: %v\n", err) + } } c := make(chan os.Signal, 1) |
