change: remove unused code

This commit is contained in:
lilong.129
2025-02-07 18:12:27 +08:00
parent 03bdb2b741
commit 06d7a7e721
6 changed files with 2 additions and 24 deletions

View File

@@ -308,18 +308,6 @@ func (dev *IOSDevice) Install(appPath string, opts ...option.InstallOption) (err
return err
}
func (dev *IOSDevice) InstallByUrl(url string, opts ...option.InstallOption) (err error) {
appPath, err := builtin.DownloadFileByUrl(url)
if err != nil {
return err
}
err = dev.Install(appPath, opts...)
if err != nil {
return err
}
return nil
}
func (dev *IOSDevice) Uninstall(bundleId string) error {
svc, err := installationproxy.New(dev.d)
if err != nil {
@@ -635,10 +623,6 @@ func (dev *IOSDevice) NewStubDriver() (driver IDriver, err error) {
return stubDriver, nil
}
func (dev *IOSDevice) GetCurrentWindow() (WindowInfo, error) {
return WindowInfo{}, nil
}
func (dev *IOSDevice) GetPackageInfo(packageName string) (AppInfo, error) {
svc, err := installationproxy.New(dev.d)
if err != nil {