Skip to content

Commit 987ba5c

Browse files
committed
use OpenURL
1 parent f6f6a56 commit 987ba5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/src/login_oauth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func openInBrowser(rawURL string) error {
134134
case "darwin":
135135
cmd = exec.Command("open", rawURL)
136136
case "windows":
137-
cmd = exec.Command("rundll32", "url.dll,FileProtocolHandler", rawURL)
137+
cmd = exec.Command("rundll32", "url.dll,OpenURL", rawURL)
138138
default:
139139
cmd = exec.Command("xdg-open", rawURL)
140140
}

0 commit comments

Comments
 (0)