wip: tun privilege

This commit is contained in:
arm64v8a
2023-03-20 21:48:21 +09:00
parent 20c8fe5f0a
commit 69771e2080
10 changed files with 63 additions and 8 deletions

View File

@@ -73,6 +73,9 @@ namespace NekoRay {
_add(new configItem("log_ignore", &log_ignore, itemType::stringList));
_add(new configItem("start_minimal", &start_minimal, itemType::boolean));
_add(new configItem("max_log_line", &max_log_line, itemType::integer));
#ifndef Q_OS_WIN
_add(new configItem("vpn_already_admin", &vpn_already_admin, itemType::boolean));
#endif
}
void DataStore::UpdateStartedId(int id) {