more cleanup logics
This commit is contained in:
parent
20245c109b
commit
78d5dfbe53
2 changed files with 31 additions and 4 deletions
3
main.go
3
main.go
|
@ -14,7 +14,8 @@ func main() {
|
|||
if err != nil {
|
||||
log.Fatal("error loading .env file")
|
||||
}
|
||||
util.ClearDownlods()
|
||||
util.CleanupDownloadsDir()
|
||||
util.StartDownloadsCleanup()
|
||||
ok := util.CheckFFmpeg()
|
||||
if !ok {
|
||||
log.Fatal("ffmpeg executable not found. please install it or add it to your PATH")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue