🎨 Supply decryption keys as comma-delimited string and not as three args
This commit is contained in:
parent
a605e78715
commit
1fb738505e
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ export default function launchProcess(diskFile: string, offset: number, compress
|
||||||
'--size', compressedSize,
|
'--size', compressedSize,
|
||||||
];
|
];
|
||||||
if (decryptionKeys !== undefined) {
|
if (decryptionKeys !== undefined) {
|
||||||
parameters.push('--keys', ...decryptionKeys);
|
parameters.push('--keys', decryptionKeys.join(','));
|
||||||
}
|
}
|
||||||
const spawnedProcess = childProcess.spawn(processPath, parameters.map((value) => value.toString(), { cwd: '.' }));
|
const spawnedProcess = childProcess.spawn(processPath, parameters.map((value) => value.toString(), { cwd: '.' }));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue