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 } return { ffmpeg: ffmpeg, ffprobe: ffprobe }
} else { } else {
// Linux:
// const ffmpeg = path.join(ffmpegPath, 'ffmpeg')
// const ffprobe = path.join(ffmpegPath, 'ffprobe')
const ffmpeg = path.join(ffmpegPath, 'ffmpeg.exe') const ffmpeg = path.join(ffmpegPath, 'ffmpeg.exe')
const ffprobe = path.join(ffmpegPath, 'ffprobe.exe') const ffprobe = path.join(ffmpegPath, 'ffprobe.exe')

View File

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