fix: md5hashes file not using sysroot when displaying file location
This commit is contained in:
parent
170bf86992
commit
5473c127e2
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ export default class Install {
|
|||
if (file.endsWith('.WAHINFO')) continue;
|
||||
const readFile = await fs.promises.readFile(file);
|
||||
const hash = crypto.createHash('md5').update(readFile).digest('hex');
|
||||
toWriteToFile += `${file.replace(`${makeExtractDir}/ROOT`, '')} ${hash}\n`;
|
||||
toWriteToFile += `${file.replace(`${makeExtractDir}/ROOT`, this.options.sysroot)} ${hash}\n`;
|
||||
}
|
||||
|
||||
await md5Adapter.write(toWriteToFile);
|
||||
|
|
Reference in a new issue