fixed mp4decrypt not found bug

This commit is contained in:
stratuma 2024-05-27 17:43:45 +02:00
parent 55c45b9c0b
commit 63941e7ef5
2 changed files with 1 additions and 6 deletions

View File

@ -15,10 +15,6 @@ export function getFFMPEGPath() {
return { ffmpeg: ffmpeg, ffprobe: ffprobe }
} else {
// Linux:
// const ffmpeg = path.join(ffmpegPath, 'ffmpeg')
// const ffprobe = path.join(ffmpegPath, 'ffprobe')
const ffmpeg = path.join(ffmpegPath, 'ffmpeg.exe')
const ffprobe = path.join(ffmpegPath, 'ffprobe.exe')

View File

@ -14,8 +14,7 @@ export function getMP4DecryptPath() {
return mp4Decrypt
} else {
// Linux: const mp4Decrypt = path.join(decryptPath, 'mp4decrypt').replace(/\s/g, '\\ ')
const mp4Decrypt = path.join(decryptPath, 'mp4decrypt.exe')
const mp4Decrypt = path.join(decryptPath, 'mp4decrypt.exe').replace(/\s/g, '\\ ')
return mp4Decrypt
}