fixed a bug on the config & now backend does use config values
This commit is contained in:
@@ -7,8 +7,10 @@ import fs from 'fs';
|
||||
import path from 'path';
|
||||
import AdmZip from 'adm-zip';
|
||||
import { spawn } from 'child_process';
|
||||
const { values } = loadConfig();
|
||||
|
||||
const FFMPEG_PATH = 'D:\\ffmpeg\\bin\\ffmpeg.exe';
|
||||
const FFMPEG_PATH =
|
||||
values.paths?.ffmpeg || 'ffmpeg';
|
||||
|
||||
type AnimeDownloadParams = {
|
||||
anilistId: number;
|
||||
|
||||
Reference in New Issue
Block a user