mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-21 03:10:24 +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[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
QCoreApplication::setSetuidAllowed(true);
|
||||||
QApplication a(argc, argv);
|
QApplication a(argc, argv);
|
||||||
QDir::setCurrent(QFileInfo(QCoreApplication::applicationFilePath()).path());
|
QDir::setCurrent(QFileInfo(QCoreApplication::applicationFilePath()).path());
|
||||||
RunGuard guard("Hv2ray");
|
RunGuard guard("Hv2ray");
|
||||||
|
Loading…
Reference in New Issue
Block a user