fix upgrade file path missing name

This commit is contained in:
Jeremy Kauffman 2017-07-28 19:31:10 -04:00
parent aa2e345999
commit 022e7f808b
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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))),