discord-exploits/modules/ffmpeg-check.go
Schmenn 2a9103af59 implemented core ffmpeg functions
[TODO] update README.md and clean code
2021-01-13 15:25:45 +01:00

17 lines
206 B
Go

package modules
import (
"os/exec"
)
// CheckForFFmpeg looks for ffmpeg in the path
func CheckForFFmpeg() string {
path, err := exec.LookPath("ffmpeg")
if err != nil {
panic(err)
}
return path
}