mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
delete cache
This commit is contained in:
@@ -175,6 +175,8 @@ ${navMapStrBuilder.toString()}
|
|||||||
final zipPath = FilePath.join(cacheDir, '${data.title}.epub');
|
final zipPath = FilePath.join(cacheDir, '${data.title}.epub');
|
||||||
ZipFile.compressFolder(workingDir.path, zipPath);
|
ZipFile.compressFolder(workingDir.path, zipPath);
|
||||||
|
|
||||||
|
workingDir.deleteSync(recursive: true);
|
||||||
|
|
||||||
return File(zipPath);
|
return File(zipPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user