Skip to content

Commit

Permalink
Upload AWG binary
Browse files Browse the repository at this point in the history
  • Loading branch information
outspace committed Sep 20, 2023
1 parent f5ab034 commit 52e5453
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions client/daemon/daemonlocalserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ QString DaemonLocalServer::daemonPath() const {
}

if (dir.exists("amneziavpn")) {
logger.debug() << "/var/run/amnezia seems to be usable";
logger.debug() << "/var/run/amneziavpn seems to be usable";
return VAR_PATH;
}

if (!dir.mkdir("amneziavpn")) {
logger.warning() << "Failed to create /var/run/amnezia";
logger.warning() << "Failed to create /var/run/amneziavpn";
return TMP_PATH;
}

Expand Down
2 changes: 0 additions & 2 deletions client/mozilla/shared/ipaddress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ IPAddress::IPAddress(const QString& ip) {
if (m_prefixLength >= 128) {
m_prefixLength = 128;
}
} else {
// Q_ASSERT(false);
}
}

Expand Down
2 changes: 1 addition & 1 deletion client/platforms/linux/daemon/wireguardutilslinux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ bool WireguardUtilsLinux::addInterface(const InterfaceConfig& config) {

QDir appPath(QCoreApplication::applicationDirPath());
QStringList wgArgs = {"-f", "amn0"};
m_tunnel.start(appPath.filePath("wireguard-go"), wgArgs);
m_tunnel.start(appPath.filePath("../../client/bin/wireguard-go"), wgArgs);
if (!m_tunnel.waitForStarted(WG_TUN_PROC_TIMEOUT)) {
logger.error() << "Unable to start tunnel process due to timeout";
m_tunnel.kill();
Expand Down

0 comments on commit 52e5453

Please sign in to comment.