mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
improve importing comic
This commit is contained in:
@@ -111,7 +111,7 @@ abstract class CBZ {
|
||||
var src = files[i];
|
||||
var dst = File(
|
||||
FilePath.join(dest.path, '${i + 1}.${src.path.split('.').last}'));
|
||||
src.copy(dst.path);
|
||||
await src.copy(dst.path);
|
||||
}
|
||||
} else {
|
||||
dest.createSync();
|
||||
@@ -129,7 +129,7 @@ abstract class CBZ {
|
||||
var src = chapter.value[i];
|
||||
var dst = File(FilePath.join(
|
||||
chapterDir.path, '${i + 1}.${src.path.split('.').last}'));
|
||||
src.copy(dst.path);
|
||||
await src.copy(dst.path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user