Skip to content

Commit a311be4

Browse files
committed
fix(service): open_browser on windows
1 parent 4946fd9 commit a311be4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/logic/open_browser/windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func OpenURLInUserSession(url string) error {
8181
}
8282

8383
func OpenBrowser(targetUser string, url string) error {
84-
if constants.ShouldChangeUser() {
84+
if constants.ShouldChangeUser {
8585
return OpenURLInUserSession(url)
8686
} else {
8787
return windows.ShellExecute(0, nil, windows.StringToUTF16Ptr(url), nil, nil, windows.SW_SHOWNORMAL)

0 commit comments

Comments
 (0)