refactor: remove ext install

This commit is contained in:
lilong.129
2025-02-11 21:49:52 +08:00
parent 3b450ce97f
commit e02e889a8e
10 changed files with 10 additions and 257 deletions

View File

@@ -287,6 +287,12 @@ func (dev *AndroidDevice) installViaInstaller(apkPath string, args ...string) er
}
}
type InstallResult struct {
Result int `json:"result"`
ErrorCode int `json:"errorCode"`
ErrorMsg string `json:"errorMsg"`
}
func (dev *AndroidDevice) installCommon(apkPath string, args ...string) error {
_, err := dev.Device.InstallAPK(apkPath, args...)
return err