From bae5380f802dd2533b99099ed809ecdfffbdef66 Mon Sep 17 00:00:00 2001 From: "lilong.129" Date: Fri, 14 Apr 2023 21:03:47 +0800 Subject: [PATCH] fix: ScreenCap call RunShellCommandWithBytes --- hrp/internal/version/VERSION | 2 +- hrp/pkg/gadb/device.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hrp/internal/version/VERSION b/hrp/internal/version/VERSION index f36ebd00..193b8191 100644 --- a/hrp/internal/version/VERSION +++ b/hrp/internal/version/VERSION @@ -1 +1 @@ -v4.3.3.2023041419 \ No newline at end of file +v4.3.3.2023041421 \ No newline at end of file diff --git a/hrp/pkg/gadb/device.go b/hrp/pkg/gadb/device.go index 97bb08db..87a496ea 100644 --- a/hrp/pkg/gadb/device.go +++ b/hrp/pkg/gadb/device.go @@ -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") }