Update ui/mainwindow_grpc.cpp

This commit is contained in:
Kieran Moy 2024-05-04 00:45:23 +08:00
parent 09e9604006
commit 0ceda1de0e

View File

@ -288,7 +288,7 @@ void MainWindow::neko_start(int _id) {
#ifdef Q_OS_LINUX
if (IS_NEKO_BOX_INTERNAL_TUN)
auto ret = Linux_Pkexec_SetCapString(NekoGui::FindNekoBoxCoreRealPath(), "cap_net_admin-ep");
Linux_Pkexec_SetCapString(NekoGui::FindNekoBoxCoreRealPath(), "cap_net_admin-ep");
#endif
auto ent = (_id < 0 && !ents.isEmpty()) ? ents.first() : NekoGui::profileManager->GetProfile(_id);