Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-19 | Add `BROWSER` support to `OpenFile()` | Teddy Wing | |
If the `BROWSER` environment variable is set, open the given file path in the given browser. | |||
2020-12-19 | Add `BROWSER` support to `OpenURL()` | Teddy Wing | |
If the `BROWSER` environment variable is set, open the given URL using the command specified in the variable. Run the command in a shell process, either from the `SHELL` environment variable or `/bin/sh` on Unix OSes. Run it through `cmd` on Windows. Essentially repurposes my code from https://github.com/pkg/browser/pull/14. | |||
2020-12-14 | Wrap `github.com/pkg/browser` in a new `browserenv` package | Teddy Wing | |
This will be used to extend `browser`'s functionality. |