mirror of
https://github.com/Superredstone/spotiflac-cli.git
synced 2026-06-17 16:44:40 +02:00
feat: add --override flag
This commit is contained in:
+1
-1
@@ -199,7 +199,7 @@ func (app *App) DownloadTrack(url string, outputFile string, service string, qua
|
||||
return err
|
||||
}
|
||||
|
||||
if fileExists {
|
||||
if fileExists && !app.OverrideDownload {
|
||||
app.log("File " + outputFile + " already exists")
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user