mirror of
https://github.com/tiann/KernelSU.git
synced 2025-02-20 11:43:32 +08:00
parent
5be8fe39d0
commit
effcaf0cde
@ -29,6 +29,7 @@ fn get_git_version() -> Result<(u32, String), std::io::Error> {
|
||||
"Failed to read git describe stdout",
|
||||
)
|
||||
})?;
|
||||
let version_name = version_name.trim_start_matches('v').to_string();
|
||||
Ok((version_code, version_name))
|
||||
}
|
||||
|
||||
|
@ -126,7 +126,7 @@ pub fn root_shell() -> Result<()> {
|
||||
}
|
||||
|
||||
if matches.opt_present("v") {
|
||||
println!("{}:KernelSU", "25.2");
|
||||
println!("{}:KernelSU", defs::VERSION_NAME);
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user