More friendly to obscure/outdated custom recoveries

Close #1049
This commit is contained in:
topjohnwu
2019-02-24 04:45:47 -05:00
parent c84023bdc2
commit 3356d7b6ff
2 changed files with 4 additions and 5 deletions

View File

@@ -79,9 +79,6 @@ private:
int get_path(char *path);
};
//char node_entry::buf[] = {};
//char node_entry::buf2[] = {};
node_entry::node_entry(const char *name, uint8_t status, uint8_t type)
: name(name), type(type), status(status), parent(nullptr) {}
@@ -358,7 +355,8 @@ static bool magisk_env() {
}
}
// Remove legacy stuffs
// Remove stuffs
rm_rf("/cache/data_adb");
unlink("/data/magisk.img");
unlink("/data/magisk_debug.log");