ksud: modules_update will be mounted to /data/adb/modules_update (#336)

ee09b9f9f4
and https://github.com/tiann/KernelSU/pull/327 have moved
`/data/adb/ksu/modules` to `/data/adb/modules`,but `modules_update` has
not to do it.Many modules hard-coded this directory.
This commit is contained in:
セリカ・シルフィル
2023-04-03 22:32:13 +08:00
committed by GitHub
parent a3874dd089
commit 6fc8cc7e8e
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ pub const MODULE_UPDATE_IMG: &str = concatcp!(WORKING_DIR, "modules_update.img")
pub const MODULE_UPDATE_TMP_IMG: &str = concatcp!(WORKING_DIR, "update_tmp.img");
// warning: this directory should not change, or you need to change the code in module_installer.sh!!!
pub const MODULE_UPDATE_TMP_DIR: &str = concatcp!(WORKING_DIR, "modules_update/");
pub const MODULE_UPDATE_TMP_DIR: &str = concatcp!(ADB_DIR, "modules_update/");
pub const DISABLE_FILE_NAME: &str = "disable";
pub const UPDATE_FILE_NAME: &str = "update";