mirror of
https://github.com/Schmenn/discord-exploits.git
synced 2025-07-03 04:58:26 +00:00
17 lines
206 B
Go
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
|
|
}
|