fixed mp4decrypt not found bug
This commit is contained in:
parent
55c45b9c0b
commit
63941e7ef5
@ -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')
|
||||||
|
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user