diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/app/launcher.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app/launcher.js b/src/app/launcher.js index e0d7619..7b49dc4 100644 --- a/src/app/launcher.js +++ b/src/app/launcher.js @@ -25,6 +25,8 @@ ipcRenderer.on("vp-notes", (event, response) => { let content = ""; for (const release of response) { + if (release.prerelease) {continue} + content += "# " + release.name + "\n\n" + release.body.replaceAll("\r\n", "\n") + "\n\n\n"; } @@ -42,6 +44,8 @@ ipcRenderer.on("ns-notes", (event, response) => { let content = ""; for (let release of response) { + if (release.prerelease) {continue} + content += "# " + release.name + "\n\n" + release.body.replaceAll("\r\n", "\nhtmlbreak") + "\n\n\n"; } |