mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-01-12 04:56:13 -08:00
Remove usage of MAGISKTMP
This commit is contained in:
@@ -73,7 +73,7 @@ vector<bool> get_app_no_list() {
|
||||
|
||||
void preserve_stub_apk() {
|
||||
mutex_guard g(pkg_lock);
|
||||
string stub_path = MAGISKTMP + "/stub.apk";
|
||||
string stub_path = get_magisk_tmp() + "/stub.apk"s;
|
||||
stub_apk_fd = xopen(stub_path.data(), O_RDONLY | O_CLOEXEC);
|
||||
unlink(stub_path.data());
|
||||
auto cert = read_certificate(stub_apk_fd, -1);
|
||||
|
||||
Reference in New Issue
Block a user