mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 19:00:22 +08:00
Allow suid.
This commit is contained in:
parent
257d473efd
commit
77c540a61b
@ -40,6 +40,7 @@ void init()
|
||||
}
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QCoreApplication::setSetuidAllowed(true);
|
||||
QApplication a(argc, argv);
|
||||
QDir::setCurrent(QFileInfo(QCoreApplication::applicationFilePath()).path());
|
||||
RunGuard guard("Hv2ray");
|
||||
|
Loading…
Reference in New Issue
Block a user