diff --git a/clean.go b/clean.go index c1acb76..8e084d6 100644 --- a/clean.go +++ b/clean.go @@ -26,11 +26,7 @@ func Purge() { size, _ := DirSize(dir) dirSizes = dirSizes + size - err := CleanDirContents(dir) - if err != nil { - log.Printf("Error cleaning %s", dir) - log.Println(err) - } + CleanDirContents(dir) } dirSizes = dirSizes - DeviceSupportLatestVerDirSize() totalMB := SizeInMB(dirSizes) diff --git a/main.go b/main.go index 6de6d5a..beeba7b 100644 --- a/main.go +++ b/main.go @@ -49,7 +49,7 @@ func main() { //Version if opts.Version { - fmt.Println("1.0.0") + fmt.Println("1.0.1") os.Exit(0) } diff --git a/xcclear-1.0.0-tar.gz b/xcclear-1.0.0-tar.gz new file mode 100644 index 0000000..432ba9e Binary files /dev/null and b/xcclear-1.0.0-tar.gz differ