fix mp4decrypt path bug

This commit is contained in:
stratuma 2024-06-20 13:37:21 +02:00
parent 46fa8581de
commit 56dacdae73

View File

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