You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-06 23:56:13 +02:00
Desktop: Seamless-Updates: used url instead of browser url and added api heade… (#11049)
This commit is contained in:
@ -35,9 +35,9 @@ const createReleaseAssets = async (context: Context, release: GitHubRelease) =>
|
||||
let zipPath;
|
||||
for (const asset of release.assets) {
|
||||
if (asset.name.endsWith('arm64.zip')) {
|
||||
zipPath = await downloadFile(asset, downloadDir);
|
||||
zipPath = await downloadFile(context, asset, downloadDir);
|
||||
} else if (asset.name.endsWith('arm64.DMG')) {
|
||||
dmgPath = await downloadFile(asset, downloadDir);
|
||||
dmgPath = await downloadFile(context, asset, downloadDir);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user