Merge remote-tracking branch 'remotes/origin/dev' into feature/amnezia-wireguard-client-impl
This commit is contained in:
commit
4cb871849b
13 changed files with 21 additions and 28 deletions
|
|
@ -324,16 +324,5 @@ if(NOT IOS AND NOT ANDROID)
|
|||
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
add_custom_command(
|
||||
TARGET ${PROJECT} POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E $<IF:$<CONFIG:Debug>,copy,true>
|
||||
$<TARGET_FILE_DIR:${PROJECT}>/../service/wireguard-service/wireguard-service.exe
|
||||
$<TARGET_FILE_DIR:${PROJECT}>/wireguard/wireguard-service.exe
|
||||
COMMAND_EXPAND_LISTS
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
target_sources(${PROJECT} PRIVATE ${SOURCES} ${HEADERS} ${RESOURCES} ${QRC})
|
||||
qt_finalize_target(${PROJECT})
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ void DaemonLocalServerConnection::parseCommand(const QByteArray& data) {
|
|||
}
|
||||
|
||||
if (type == "deactivate") {
|
||||
Daemon::instance()->deactivate();
|
||||
Daemon::instance()->deactivate(true);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -190,6 +190,7 @@ void LocalSocketController::deactivate() {
|
|||
QJsonObject json;
|
||||
json.insert("type", "deactivate");
|
||||
write(json);
|
||||
emit disconnected();
|
||||
}
|
||||
|
||||
void LocalSocketController::checkStatus() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue