revert: wings merge

This commit is contained in:
余泓铮
2025-08-06 14:35:22 +08:00
parent 0b11c5491f
commit b64e1b62ec
6 changed files with 84 additions and 150 deletions

View File

@@ -240,12 +240,12 @@ func (dev *AndroidDevice) installViaInstaller(apkPath string, args ...string) er
return err
}
// 等待安装完成或超时
timeout := 8 * time.Minute
timeout := 3 * time.Minute
select {
case err := <-done:
return err
case <-time.After(timeout):
return fmt.Errorf("install via installer timed out after %v", timeout)
return fmt.Errorf("installation timed out after %v", timeout)
}
}