mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-21 20:42:25 +08:00
refactor: move install options to pkg/uixt/options/install
This commit is contained in:
@@ -301,8 +301,8 @@ func (dev *AndroidDevice) Uninstall(packageName string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
func (dev *AndroidDevice) Install(apkPath string, opts ...InstallOption) error {
|
||||
installOpts := NewInstallOptions(opts...)
|
||||
func (dev *AndroidDevice) Install(apkPath string, opts ...options.InstallOption) error {
|
||||
installOpts := options.NewInstallOptions(opts...)
|
||||
brand, err := dev.d.Brand()
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user