We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a37a84d commit b7ba402Copy full SHA for b7ba402
src/serious_python_platform_interface/lib/src/utils.dart
@@ -60,9 +60,9 @@ Future<String> extractAssetOrFile(String path,
60
archive = ZipDecoder().decodeBytes(data);
61
} else {
62
final inputStream = InputFileStream(path);
63
- archive = ZipDecoder().decodeBuffer(inputStream);
+ archive = ZipDecoder().decodeStream(inputStream);
64
}
65
- await extractArchiveToDiskAsync(archive, destDir.path, asyncWrite: true);
+ await extractArchiveToDisk(archive, destDir.path);
66
} catch (e) {
67
debugPrint("Error unpacking archive: $e");
68
await destDir.delete(recursive: true);
0 commit comments