Enable Zygisk by default in emulators

Make sure CI tests Zygisk
This commit is contained in:
topjohnwu
2023-09-28 15:37:11 -07:00
parent 6e7a995716
commit 5c92d39498
5 changed files with 26 additions and 5 deletions
+3 -1
View File
@@ -7,6 +7,8 @@
#include <socket.hpp>
#include <base.hpp>
#include "core.hpp"
#define DB_VERSION 12
using namespace std;
@@ -116,7 +118,7 @@ db_settings::db_settings() {
data[SU_MULTIUSER_MODE] = MULTIUSER_MODE_OWNER_ONLY;
data[SU_MNT_NS] = NAMESPACE_MODE_REQUESTER;
data[DENYLIST_CONFIG] = false;
data[ZYGISK_CONFIG] = false;
data[ZYGISK_CONFIG] = rust::get_magiskd().is_emulator();
}
int db_settings::get_idx(string_view key) const {