refactor: move files

This commit is contained in:
lilong.129
2025-02-06 20:08:51 +08:00
parent 5707715d19
commit 94d3cb785c
14 changed files with 327 additions and 325 deletions

View File

@@ -220,7 +220,7 @@ func (dExt *DriverExt) DoAction(action MobileAction) (err error) {
}
case ACTION_GetSource:
if packageName, ok := action.Params.(string); ok {
source := NewSourceOption().WithProcessName(packageName)
source := option.NewSourceOption().WithProcessName(packageName)
_, err = dExt.Driver.Source(source)
if err != nil {
return errors.Wrap(err, "failed to set ime")