mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 21:04:37 +03:00
Don't delete downloads directory at startup if generated not set (#1098)
* Don't empty directories if generated not set * Rename downloads to download_stage
This commit is contained in:
@@ -29,7 +29,7 @@ func newGeneratedPaths() *generatedPaths {
|
||||
gp.Vtt = filepath.Join(config.GetGeneratedPath(), "vtt")
|
||||
gp.Markers = filepath.Join(config.GetGeneratedPath(), "markers")
|
||||
gp.Transcodes = filepath.Join(config.GetGeneratedPath(), "transcodes")
|
||||
gp.Downloads = filepath.Join(config.GetGeneratedPath(), "downloads")
|
||||
gp.Downloads = filepath.Join(config.GetGeneratedPath(), "download_stage")
|
||||
gp.Tmp = filepath.Join(config.GetGeneratedPath(), "tmp")
|
||||
return &gp
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user