func setInject(p *subprocess.PlatformOptions, injectDll string, loadLibraryW uintptr) { if injectDll != "" && loadLibraryW != 0 { p.InjectDLL = []string{injectDll} p.LoadLibraryW = loadLibraryW } }
func setDesktop(p *subprocess.PlatformOptions, desktop *platform.ContesterDesktop) { if desktop != nil { p.Desktop = desktop.DesktopName } }