1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00

Fixed deployment script

This commit is contained in:
Laurent Cozic 2018-05-11 14:36:22 +01:00
parent 65065a62d8
commit 3c24589450

View File

@ -42,7 +42,7 @@ function downloadUrl(release, os) {
const name = asset.name;
if (name.indexOf('.dmg') > 0 && os === 'macos') return asset.browser_download_url;
if (name.indexOf('.exe') > 0 && os === 'windows') return asset.browser_download_url;
if (name.indexOf('.exe') > 0 && name.indexOf('-Setup') >= 0 && os === 'windows') return asset.browser_download_url;
if (name.indexOf('.AppImage') > 0 && os === 'linux') return asset.browser_download_url;
}
}