Assert save path of download item
This commit is contained in:
parent
4e9b19074f
commit
55d6e0de1a
2 changed files with 8 additions and 6 deletions
|
@ -142,7 +142,8 @@ app.on('ready', function () {
|
|||
item.getReceivedBytes(),
|
||||
item.getTotalBytes(),
|
||||
item.getContentDisposition(),
|
||||
item.getFilename())
|
||||
item.getFilename(),
|
||||
item.getSavePath())
|
||||
})
|
||||
if (needCancel) item.cancel()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue