Feat: list tasks

This commit is contained in:
HFO4
2020-02-18 14:45:38 +08:00
parent b4219927d6
commit f91792bc64
7 changed files with 71 additions and 3 deletions

View File

@ -80,6 +80,7 @@ func (job *DecompressTask) Do() {
}
defer fs.Recycle()
job.TaskModel.SetProgress(DecompressingProgress)
err = fs.Decompress(context.Background(), job.TaskProps.Src, job.TaskProps.Dst)
if err != nil {
job.SetErrorMsg("解压缩失败", err)