1 parent b316e6f commit b027b07Copy full SHA for b027b07
1 file changed
src/components/utils/requirements.ts
@@ -61,11 +61,24 @@ function checkChrome() {
61
}
62
63
64
+function checkFFMPEG() {
65
+ try {
66
+ const version = execSync("ffmpeg -version")
67
+ .toString()
68
+ .split("\n")[0]
69
+ .trim();
70
+ log.info("FFMPEG", version);
71
+ } catch {
72
+ log.warn("FFMPEG", "FFmpeg not found. Some features may not work.");
73
+ }
74
+}
75
+
76
export function checkRequirements() {
77
log.info("Requirements", "Checking bot requirements...");
78
checkNodeVersion();
79
checkDatabase();
80
checkRedis();
81
checkChrome();
82
+ checkFFMPEG();
83
log.info("Requirements", "Bot requirements check complete.");
84
0 commit comments