mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-03 14:59:23 +00:00
[NAK_CVR_Mods] fixed generated download link in readme
This commit is contained in:
parent
febd9f2741
commit
8f8f2ad1fb
1 changed files with 2 additions and 2 deletions
4
.github/scripts/update-modlist.js
vendored
4
.github/scripts/update-modlist.js
vendored
|
@ -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 [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue