mirror of https://github.com/stashapp/stash.git
Fix ffmpeg downloader on windows (#2133)
This commit is contained in:
parent
d25510fdd7
commit
bf1b835d6d
|
@ -46,7 +46,7 @@ func Download(ctx context.Context, configDirectory string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
// validate that the urls contained what we needed
|
// validate that the urls contained what we needed
|
||||||
executables := []string{"ffmpeg", "ffprobe"}
|
executables := []string{getFFMPEGFilename(), getFFProbeFilename()}
|
||||||
for _, executable := range executables {
|
for _, executable := range executables {
|
||||||
_, err := os.Stat(filepath.Join(configDirectory, executable))
|
_, err := os.Stat(filepath.Join(configDirectory, executable))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue