Skip to content

Commit

Permalink
feat: Panic for unsupported unsupported in OpenWebPage (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonjek authored Apr 1, 2024
1 parent c1badda commit 047f1e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
bin/
dist/

.DS_Store
2 changes: 2 additions & 0 deletions internal/utils/about.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ func OpenWebPage(url string) {
exec.Command("open", url).Start()
case "linux":
exec.Command("xdg-open", url).Start()
default:
panic("unsupported platform")
}
}

0 comments on commit 047f1e2

Please sign in to comment.