feat: GetPackageInfo for ios

This commit is contained in:
lilong.129
2024-09-13 22:10:51 +08:00
parent b8e1dda6fc
commit b213e22c14
3 changed files with 45 additions and 2 deletions

View File

@@ -453,6 +453,7 @@ func (dev *AndroidDevice) GetPackageInfo(packageName string) (AppInfo, error) {
PackageName: packageName,
VersionName: matches[1],
}
log.Info().Interface("appInfo", appInfo).Msg("get app info")
return appInfo, nil
}
return appInfo, errors.New("failed to get package version")