ksud: export KSU_NEXT to environment

This commit is contained in:
Rifat Azad
2024-12-25 16:09:48 +06:00
parent e4760709c1
commit ff7d7a065f

View File

@@ -53,6 +53,7 @@ fn exec_install_script(module_file: &str) -> Result<()> {
),
)
.env("KSU", "true")
.env("KSU_NEXT", "true")
.env("KSU_KERNEL_VER_CODE", ksucalls::get_version().to_string())
.env("KSU_VER", defs::VERSION_NAME)
.env("KSU_VER_CODE", defs::VERSION_CODE)
@@ -178,6 +179,7 @@ fn exec_script<T: AsRef<Path>>(path: T, wait: bool) -> Result<()> {
.arg(path.as_ref())
.env("ASH_STANDALONE", "1")
.env("KSU", "true")
.env("KSU_NEXT", "true")
.env("KSU_KERNEL_VER_CODE", ksucalls::get_version().to_string())
.env("KSU_VER_CODE", defs::VERSION_CODE)
.env("KSU_VER", defs::VERSION_NAME)