1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-08-13 22:12:50 +02:00

Fix download links

This commit is contained in:
Laurent Cozic
2018-05-14 12:47:36 +01:00
parent c4ad9019aa
commit 10c6774c28
3 changed files with 7 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ Three types of applications are available: for the **desktop** (Windows, macOS a
Operating System | Download | Alternative Operating System | Download | Alternative
-----------------|--------|------------------- -----------------|--------|-------------------
Windows (32 and 64-bit) | <a href='https://github.com/laurent22/joplin/releases/download/v1.0.93/JoplinPortable.exe'>Portable version</a><br>(to run from a USB key, etc.) Windows (32 and 64-bit) | <a href='https://github.com/laurent22/joplin/releases/download/v1.0.93/Joplin-Setup-1.0.93.exe'><img alt='Get it on Windows' height="40px" src='https://joplin.cozic.net/images/BadgeWindows.png'/></a> | or Get the <a href='https://github.com/laurent22/joplin/releases/download/v1.0.93/JoplinPortable.exe'>Portable version</a><br>(to run from a USB key, etc.)
macOS | <a href='https://github.com/laurent22/joplin/releases/download/v1.0.93/Joplin-1.0.93.dmg'><img alt='Get it on macOS' height="40px" src='https://joplin.cozic.net/images/BadgeMacOS.png'/></a> | macOS | <a href='https://github.com/laurent22/joplin/releases/download/v1.0.93/Joplin-1.0.93.dmg'><img alt='Get it on macOS' height="40px" src='https://joplin.cozic.net/images/BadgeMacOS.png'/></a> |
Linux | <a href='https://github.com/laurent22/joplin/releases/download/v1.0.93/Joplin-1.0.93-x86_64.AppImage'><img alt='Get it on Linux' height="40px" src='https://joplin.cozic.net/images/BadgeLinux.png'/></a> | An Arch Linux package<br>[is also available](#terminal-application). Linux | <a href='https://github.com/laurent22/joplin/releases/download/v1.0.93/Joplin-1.0.93-x86_64.AppImage'><img alt='Get it on Linux' height="40px" src='https://joplin.cozic.net/images/BadgeLinux.png'/></a> | An Arch Linux package<br>[is also available](#terminal-application).

View File

@@ -97,10 +97,10 @@ async function main(argv) {
let content = readmeContent(); let content = readmeContent();
if (winUrl) content = content.replace(/(https:\/\/github.com\/laurent22\/joplin\/releases\/download\/.*?\/Joplin-Setup-.*?\.exe)/, winUrl); if (winUrl) content = content.replace(/(https:\/\/github.com\/laurent22\/joplin\/releases\/download\/v\d+\.\d+\.\d+\/Joplin-Setup-.*?\.exe)/, winUrl);
if (winPortableUrl) content = content.replace(/(https:\/\/github.com\/laurent22\/joplin\/releases\/download\/.*?\/JoplinPortable.exe)/, winPortableUrl); if (winPortableUrl) content = content.replace(/(https:\/\/github.com\/laurent22\/joplin\/releases\/download\/v\d+\.\d+\.\d+\/JoplinPortable.exe)/, winPortableUrl);
if (macOsUrl) content = content.replace(/(https:\/\/github.com\/laurent22\/joplin\/releases\/download\/.*?\.dmg)/, macOsUrl); if (macOsUrl) content = content.replace(/(https:\/\/github.com\/laurent22\/joplin\/releases\/download\/v\d+\.\d+\.\d+\/Joplin-.*?\.dmg)/, macOsUrl);
if (linuxUrl) content = content.replace(/(https:\/\/github.com\/laurent22\/joplin\/releases\/download\/.*?\.AppImage)/, linuxUrl); if (linuxUrl) content = content.replace(/(https:\/\/github.com\/laurent22\/joplin\/releases\/download\/v\d+\.\d+\.\d+\/Joplin-.*?\.AppImage)/, linuxUrl);
setReadmeContent(content); setReadmeContent(content);

View File

@@ -267,7 +267,8 @@
<tbody> <tbody>
<tr> <tr>
<td>Windows (32 and 64-bit)</td> <td>Windows (32 and 64-bit)</td>
<td><a href='https://github.com/laurent22/joplin/releases/download/v1.0.93/JoplinPortable.exe'>Portable version</a><br>(to run from a USB key, etc.)</td> <td><a href='https://github.com/laurent22/joplin/releases/download/v1.0.93/Joplin-Setup-1.0.93.exe'><img alt='Get it on Windows' height="40px" src='https://joplin.cozic.net/images/BadgeWindows.png'/></a></td>
<td>or Get the <a href='https://github.com/laurent22/joplin/releases/download/v1.0.93/JoplinPortable.exe'>Portable version</a><br>(to run from a USB key, etc.)</td>
</tr> </tr>
<tr> <tr>
<td>macOS</td> <td>macOS</td>