fix upgrade file path missing name
This commit is contained in:
parent
aa2e345999
commit
022e7f808b
2 changed files with 4 additions and 2 deletions
|
@ -16,7 +16,7 @@ Web UI version numbers should always match the corresponding version of LBRY App
|
|||
*
|
||||
|
||||
### Fixed
|
||||
*
|
||||
* Fixed upgrade file path missing file name
|
||||
*
|
||||
|
||||
### Deprecated
|
||||
|
|
|
@ -4,6 +4,7 @@ import {
|
|||
selectUpdateUrl,
|
||||
selectUpgradeDownloadPath,
|
||||
selectUpgradeDownloadItem,
|
||||
selectUpgradeFilename,
|
||||
selectPageTitle,
|
||||
selectCurrentPage,
|
||||
selectCurrentParams,
|
||||
|
@ -151,7 +152,8 @@ export function doDownloadUpgrade() {
|
|||
// Make a new directory within temp directory so the filename is guaranteed to be available
|
||||
const dir = fs.mkdtempSync(
|
||||
remote.app.getPath("temp") + require("path").sep
|
||||
);
|
||||
),
|
||||
upgradeFilename = selectUpgradeFilename(state);
|
||||
|
||||
let options = {
|
||||
onProgress: p => dispatch(doUpdateDownloadProgress(Math.round(p * 100))),
|
||||
|
|
Loading…
Reference in a new issue