You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
No hardcode ksu tmp path
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
|
||||
namespace zygiskd {
|
||||
static std::string TMP_PATH;
|
||||
// TODO: use /sbin or /debug_ramdisk directly
|
||||
void Init(const char *path) {
|
||||
TMP_PATH = path;
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ void revert_unmount_ksu() {
|
||||
&& std::find(KSU_PARTITIONS.begin(), KSU_PARTITIONS.end(), info.target) != KSU_PARTITIONS.end()) {
|
||||
targets.emplace_back(info.target);
|
||||
}
|
||||
// Unmount /debug_ramdisk
|
||||
// Unmount temp dir
|
||||
if (info.type == "tmpfs" && info.source == KSU_OVERLAY_SOURCE) {
|
||||
targets.emplace_back(info.target);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user