summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-05-22 20:06:56 +0200
committerewy <ewy0@protonmail.com>2026-05-22 20:06:56 +0200
commit094846c15f4148c166ac297e26a1248bab0ab5c7 (patch)
treed9f671bb0d34b5be52db62636278f5d3e5657283 /main.go
parent3ea1ed1362984619b182c0ddf9a6b1dc7ba5bcd0 (diff)
add views, expand api, add windows opening thing overridemain
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.go b/main.go
index c3f60ac..a1ae13f 100644
--- a/main.go
+++ b/main.go
@@ -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)