ksud: Rename the output LKM patch file

This commit is contained in:
ShirkNeko
2025-09-23 17:22:07 +08:00
parent 763ce7e86c
commit 32baf8d9b0

View File

@@ -468,7 +468,7 @@ pub fn restore(
let output_dir = std::env::current_dir()?; let output_dir = std::env::current_dir()?;
let now = chrono::Utc::now(); let now = chrono::Utc::now();
let output_image = output_dir.join(format!( let output_image = output_dir.join(format!(
"kernelsu_next_restore_{}.img", "kernelsu_restore_{}.img",
now.format("%Y%m%d_%H%M%S") now.format("%Y%m%d_%H%M%S")
)); ));
@@ -734,7 +734,7 @@ fn do_patch(
let output_dir = out.unwrap_or(std::env::current_dir()?); let output_dir = out.unwrap_or(std::env::current_dir()?);
let now = chrono::Utc::now(); let now = chrono::Utc::now();
let output_image = output_dir.join(format!( let output_image = output_dir.join(format!(
"kernelsu_next_patched_{}.img", "kernelsu_patched_{}.img",
now.format("%Y%m%d_%H%M%S") now.format("%Y%m%d_%H%M%S")
)); ));