From 4c3a69c06d6dc9e09de06eaa8485b5f579b9d9d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=99=E6=B3=93=E9=93=AE?= Date: Fri, 23 Aug 2024 10:57:14 +0800 Subject: [PATCH] fix: format code --- hrp/pkg/uixt/android_device.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hrp/pkg/uixt/android_device.go b/hrp/pkg/uixt/android_device.go index 6ea92152..61e3bd5b 100644 --- a/hrp/pkg/uixt/android_device.go +++ b/hrp/pkg/uixt/android_device.go @@ -417,8 +417,8 @@ func (dev *AndroidDevice) installViaInstaller(app io.ReadSeeker, args ...string) }() // 需要监听是否完成安装 - args = strings.Split(InstallViaInstallerCommand, " ") - args = append(args, appRemotePath) + command := strings.Split(InstallViaInstallerCommand, " ") + args = append(command, appRemotePath) _, err = dev.d.RunShellCommand("am", args[1:]...) if err != nil { return err