mirror of
https://github.com/Schmenn/discord-exploits.git
synced 2024-12-23 02:45:36 +00:00
15 lines
185 B
Go
15 lines
185 B
Go
|
package modules
|
||
|
|
||
|
import (
|
||
|
"os/exec"
|
||
|
)
|
||
|
|
||
|
// CheckForFFmpeg looks for ffmpeg in the path
|
||
|
func CheckForFFmpeg() string {
|
||
|
path, err := exec.LookPath("ffmpeg")
|
||
|
|
||
|
Check(err)
|
||
|
|
||
|
return path
|
||
|
}
|