mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-13 18:31:48 +00:00
Rename dir name
This commit is contained in:
@@ -13,8 +13,8 @@
|
||||
#define INTLROOT ".magisk"
|
||||
#define MIRRDIR INTLROOT "/mirror"
|
||||
#define PREINITMIRR INTLROOT "/preinit"
|
||||
#define BLOCKDIR INTLROOT "/block"
|
||||
#define PREINITDEV BLOCKDIR "/preinit"
|
||||
#define DEVICEDIR INTLROOT "/device"
|
||||
#define PREINITDEV DEVICEDIR "/preinit"
|
||||
#define WORKERDIR INTLROOT "/worker"
|
||||
#define MODULEMNT INTLROOT "/modules"
|
||||
#define BBPATH INTLROOT "/busybox"
|
||||
@@ -23,8 +23,8 @@
|
||||
#define ROOTMNT ROOTOVL "/.mount_list"
|
||||
#define SELINUXMOCK INTLROOT "/selinux"
|
||||
#define MAIN_CONFIG INTLROOT "/config"
|
||||
#define MAIN_SOCKET INTLROOT "/socket"
|
||||
#define LOG_PIPE INTLROOT "/log"
|
||||
#define MAIN_SOCKET DEVICEDIR "/socket"
|
||||
#define LOG_PIPE DEVICEDIR "/log"
|
||||
|
||||
constexpr const char *applet_names[] = { "su", "resetprop", nullptr };
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ macro_rules! INTLROOT {
|
||||
#[macro_export]
|
||||
macro_rules! LOG_PIPE {
|
||||
() => {
|
||||
concat!($crate::INTLROOT!(), "/log")
|
||||
concat!($crate::INTLROOT!(), "/device/log")
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user