feat: 免密自动化安装

This commit is contained in:
余泓铮
2024-04-25 20:03:39 +08:00
parent dbc6c73863
commit 5ccc8d00aa
6 changed files with 239 additions and 5 deletions

View File

@@ -466,6 +466,10 @@ func (dev *IOSDevice) StopPcap() string {
return dev.pcapFile
}
func (dev *IOSDevice) Install(app io.ReadSeeker, opts InstallOptions) error {
return errors.New("install method not implemented")
}
func (dev *IOSDevice) forward(localPort, remotePort int) error {
log.Info().Int("localPort", localPort).Int("remotePort", remotePort).
Str("udid", dev.UDID).Msg("forward tcp port")