mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
WireGuard for MacOS (#248)
* WireGuard for MacOS * Fix openvpn block-outside-dns
This commit is contained in:
@@ -10,6 +10,11 @@
|
||||
|
||||
#include "ipcserver.h"
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
#include "macos/daemon/macosdaemon.h"
|
||||
#include "../../client/daemon/daemonlocalserver.h"
|
||||
#endif
|
||||
|
||||
class QLocalServer;
|
||||
class QLocalSocket;
|
||||
class QProcess;
|
||||
@@ -27,6 +32,11 @@ public:
|
||||
IpcServer m_ipcServer;
|
||||
QRemoteObjectHost m_serverNode;
|
||||
bool m_isRemotingEnabled = false;
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
MacOSDaemon daemon;
|
||||
DaemonLocalServer server{qApp};
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif // LOCALSERVER_H
|
||||
|
||||
Reference in New Issue
Block a user