diff --git a/src/commands/install.ts b/src/commands/install.ts index a30ac34..3f5747c 100644 --- a/src/commands/install.ts +++ b/src/commands/install.ts @@ -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);