A full-featured download manager.
fix: save session delay too long
Dr_rOotdd21c76deae4
diff --git a/src/renderer/components/Native/EngineClient.vue b/src/renderer/components/Native/EngineClient.vueindex 68eead12..5a7c4867 100644--- a/src/renderer/components/Native/EngineClient.vue+++ b/src/renderer/components/Native/EngineClient.vue@@ -62,6 +62,7 @@onDownloadStart (event) {this.$store.dispatch('task/fetchList')this.$store.dispatch('app/resetInterval')+ this.$store.dispatch('task/saveSession')console.log('aria2 onDownloadStart', event)const [{ gid }] = eventthis.fetchTaskItem({ gid })@@ -128,12 +129,12 @@})},handleDownloadComplete (task, isBT) {- const path = getTaskFullPath(task)-- this.showTaskCompleteNotify(task, isBT, path)+ this.$store.dispatch('task/saveSession')addToRecentTask(task)+ const path = getTaskFullPath(task)+ this.showTaskCompleteNotify(task, isBT, path)this.$electron.ipcRenderer.send('event', 'task-download-complete', task, path)},showTaskCompleteNotify (task, isBT, path) {