Add log for restore

This commit is contained in:
LoveSy 2023-06-12 02:00:06 +08:00 committed by John Wu
parent 607e6547a7
commit bf10496fa9

View File

@ -99,7 +99,9 @@ impl MagiskCpio for Cpio {
rm_list.push_str(data);
}
} else if name != ".backup/.magisk" {
backups.insert(name[8..].to_string(), entry);
let new_name = &name[8..];
eprintln!("Restore [{}] -> [{}]", name, new_name);
backups.insert(new_name.to_string(), entry);
}
});
self.rm(".backup", false);