node build fixed
This commit is contained in:
16
seanime-2.9.10/internal/mediaplayers/mpvipc/pipe_windows.go
Normal file
16
seanime-2.9.10/internal/mediaplayers/mpvipc/pipe_windows.go
Normal file
@@ -0,0 +1,16 @@
|
||||
//go:build windows
|
||||
// +build windows
|
||||
|
||||
package mpvipc
|
||||
|
||||
import (
|
||||
"net"
|
||||
"time"
|
||||
|
||||
winio "github.com/Microsoft/go-winio"
|
||||
)
|
||||
|
||||
func dial(path string) (net.Conn, error) {
|
||||
timeout := time.Second * 10
|
||||
return winio.DialPipe(path, &timeout)
|
||||
}
|
||||
Reference in New Issue
Block a user