fix: Aria2cModel logs

This commit is contained in:
xkeyC 2024-10-07 12:40:41 +08:00
parent abfd31e001
commit 6df16058ac

View File

@ -121,7 +121,8 @@ class Aria2cModel extends _$Aria2cModel {
String launchError = "";
stream.listen((event) {
dPrint("Aria2cManager.rs_process event === $event");
dPrint(
"Aria2cManager.rs_process event === [${event.rsPid}] ${event.dataType} >> ${event.data}");
switch (event.dataType) {
case rs_process.RsProcessStreamDataType.output:
if (event.data.contains("IPv4 RPC: listening on TCP port")) {