fix: ScreenCap call RunShellCommandWithBytes

This commit is contained in:
lilong.129
2023-04-14 21:03:47 +08:00
parent 7ef29fef60
commit bae5380f80
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
v4.3.3.2023041419 v4.3.3.2023041421

View File

@@ -572,5 +572,5 @@ func (d *Device) Uninstall(packageName string, keepData ...bool) (string, error)
} }
func (d *Device) ScreenCap() ([]byte, error) { func (d *Device) ScreenCap() ([]byte, error) {
return d.RunShellCommandV2WithBytes("screencap", "-p") return d.RunShellCommandWithBytes("screencap", "-p")
} }