[NAK_CVR_Mods] fixed generated download link in readme

This commit is contained in:
NotAKidoS 2025-04-11 07:45:31 -05:00
parent febd9f2741
commit 8f8f2ad1fb

View file

@ -52,11 +52,11 @@ function formatTable(mods, baseDir) {
let rows = mods.map(modPath => {
const modName = path.basename(modPath);
const readmeLink = path.join(modPath, 'README.md');
const zipLink = path.join(modPath, `${modName}.zip`);
const dllLink = path.join(modPath, `${modName}.dll`);
const readmePath = path.join(modPath, 'README.md');
const description = extractDescription(readmePath);
return `| [${modName}](${readmeLink}) | ${description} | [Download](${zipLink}) |`;
return `| [${modName}](${readmeLink}) | ${description} | [Download](${dllLink}) |`;
});
return [