ksud: Rename the output LKM patch file
This commit is contained in:
@@ -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")
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user