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:
parent
65065a62d8
commit
3c24589450
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user