mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
fix: 修复install可能未执行
This commit is contained in:
@@ -474,7 +474,7 @@ func (dev *IOSDevice) StopPcap() string {
|
||||
}
|
||||
|
||||
func (dev *IOSDevice) Install(appPath string, opts *InstallOptions) (err error) {
|
||||
for i := 0; i < opts.RetryTime; i++ {
|
||||
for i := 0; i <= opts.RetryTime; i++ {
|
||||
err = myexec.RunCommand("ideviceinstaller", "-u", dev.UDID, "-i", appPath)
|
||||
if err == nil {
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user