feat: reducing http downloads duplicate

This commit is contained in:
Chubby Granny Chaser 2024-08-17 21:51:03 +01:00
parent bbe68a0aff
commit dd7229dc59
No known key found for this signature in database

View File

@ -42,8 +42,6 @@ export class HttpDownload {
WindowManager.mainWindow?.webContents.session.once(
"will-download",
(_event, item, _webContents) => {
console.log(_event);
this.downloadItem = item;
item.setSavePath(path.join(this.downloadPath, item.getFilename()));