Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WireGuard rework for MacOS and Windows #314

Merged
merged 10 commits into from
Sep 14, 2023
Merged

WireGuard rework for MacOS and Windows #314

merged 10 commits into from
Sep 14, 2023

Conversation

outspace
Copy link
Collaborator

@outspace outspace commented Sep 7, 2023

Use new background WG service for vpn tunnel.

@pokamest pokamest changed the title WireGuard for Windows rework WireGuard rework Sep 13, 2023
@pokamest pokamest requested a review from Nethius September 14, 2023 13:31
@@ -76,12 +76,12 @@ QString DaemonLocalServer::daemonPath() const {
}

if (dir.exists("amneziavpn")) {
logger.debug() << "/var/run/amneziavpn seems to be usable";
logger.debug() << "/var/run/amnezia seems to be usable";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check if (dir.exists("amneziavpn")) - but message about "/var/run/amnezia" - looks like it's typo?

return VAR_PATH;
}

if (!dir.mkdir("amneziavpn")) {
logger.warning() << "Failed to create /var/run/amneziavpn";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

@@ -14,10 +13,14 @@
#include <QJsonValue>
#include <QStandardPaths>

//#include "errorhandler.h"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please cleanup unnecessary commented lines

@pokamest pokamest changed the title WireGuard rework WireGuard rework for MacOS and Windows Sep 14, 2023
@pokamest pokamest merged commit 07c38e9 into dev Sep 14, 2023
8 checks passed
@pokamest pokamest deleted the feature/wg-win-rework branch September 14, 2023 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants