You've already forked KernelSU-Next
mirror of
https://github.com/KernelSU-Next/KernelSU-Next.git
synced 2025-08-27 23:46:34 +00:00
ksud_overlayfs: removed custom_sparse_size text file extension
This commit is contained in:
@@ -401,7 +401,7 @@ fn _install_module(zip: &str) -> Result<()> {
|
||||
}
|
||||
fn get_sparse_image_size() -> u64 {
|
||||
let default_size = 6 << 30; // 6GB
|
||||
let custom_size_file = "/data/adb/ksu/custom_sparse_size.txt";
|
||||
let custom_size_file = "/data/adb/ksu/custom_sparse_size";
|
||||
match fs::read_to_string(custom_size_file) {
|
||||
Ok(contents) => match parse_size(&contents) {
|
||||
Ok(size) => size,
|
||||
|
||||
Reference in New Issue
Block a user