fix: ScreenCap call RunShellCommandWithBytes
This commit is contained in:
parent
2d3a4985ed
commit
947653014b
|
@ -1 +1 @@
|
|||
v4.3.3.2023041419
|
||||
v4.3.3.2023041421
|
|
@ -572,5 +572,5 @@ func (d *Device) Uninstall(packageName string, keepData ...bool) (string, error)
|
|||
}
|
||||
|
||||
func (d *Device) ScreenCap() ([]byte, error) {
|
||||
return d.RunShellCommandV2WithBytes("screencap", "-p")
|
||||
return d.RunShellCommandWithBytes("screencap", "-p")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue