github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/updater/service/service_windows.go (about)

     1  //go:build windows
     2  // +build windows
     3  
     4  package main
     5  
     6  import "io"
     7  
     8  type nopCloser struct{}
     9  
    10  func (n *nopCloser) Close() error {
    11  	return nil
    12  }
    13  
    14  func (s *service) lockPID() (io.Closer, error) {
    15  	return &nopCloser{}, nil
    16  }