From 24c60e7185a9e15e97a24ff36eec8ab7f5318ddd Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 15 Jan 2024 23:38:52 +0300 Subject: [PATCH] fix --- main.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/main.go b/main.go index 7a08273..42f9d89 100644 --- a/main.go +++ b/main.go @@ -119,6 +119,14 @@ func GetAllFiles() []string { files := SplitByNewLine(stdout) + ls = exec.Command("adb", "shell", "find /sdcard/ -type d -empty") + + stdout, _ = ls.Output() + + dirs := SplitByNewLine(stdout) + + files = append(files, dirs[:]...) + return files }