From d84e0bad1260ac56f7632fc62fa5d6cdc6ca3766 Mon Sep 17 00:00:00 2001 From: Daniel Peukert Date: Thu, 13 Feb 2020 10:23:13 +0100 Subject: Replace deprecated Electron functions with properties --- src/electron/ipc-api/download.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/electron/ipc-api/download.js') diff --git a/src/electron/ipc-api/download.js b/src/electron/ipc-api/download.js index 01b81d388..36eca3c9f 100644 --- a/src/electron/ipc-api/download.js +++ b/src/electron/ipc-api/download.js @@ -22,7 +22,7 @@ export default (params) => { const dl = await download(params.mainWindow, url, { saveAs: true, }); - debug('File saved to', dl.getSavePath()); + debug('File saved to', dl.savePath); } else { const extension = mime.extension(fileOptions.mime); const filename = `${fileOptions.name}.${extension}`; -- cgit v1.2.3-70-g09d2