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 }
|
||||
} 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')
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user