We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fileInfo.info.url
1 parent 99f49cf commit cd15e16Copy full SHA for cd15e16
.changeset/fix-default-filename.md
@@ -0,0 +1,5 @@
1
+---
2
+"electron-updater": patch
3
4
+
5
+fix: default file name of `update.${fileExtension}` for downloaded files in private repositories.
packages/electron-updater/src/AppUpdater.ts
@@ -636,7 +636,7 @@ export abstract class AppUpdater extends (EventEmitter as new () => TypedEmitter
636
return path.basename(urlPath)
637
} else {
638
// url like /latest, generate name
639
- return `update.${taskOptions.fileExtension}`
+ return taskOptions.fileInfo.info.url
640
}
641
642
0 commit comments