giffer

Create .gif images from sites like youtube.com
Log | Files | Refs | LICENSE

commit 20a8d0db6d6b8ce90a692326e7bbf1450c0f938d
parent a16f48f87b1e4e6f96195f8e421a371882ea24ca
Author: Jack Mordaunt <jackmordaunt@gmail.com>
Date:   Wed, 28 Nov 2018 01:53:24 -0800

[!] correct command for windows.

Diffstat:
Mcmd/desktop/browser.go | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cmd/desktop/browser.go b/cmd/desktop/browser.go @@ -62,10 +62,10 @@ func (Browser) open(u string) *exec.Cmd { switch runtime.GOOS { case "darwin": cmd = exec.Command("open", u, "-W") - case "linux": - cmd = exec.Command("xdg-open", u) case "windows": - cmd = exec.Command("start", "/wait", "", u) + cmd = exec.Command("start", u) + default: + cmd = exec.Command("xdg-open", u) } return cmd }