mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-04 19:10:47 -05: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