diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index ca5161cf..63810ed3 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -322,16 +322,5 @@ if(NOT IOS AND NOT ANDROID) endif() -if(WIN32) - add_custom_command( - TARGET ${PROJECT} POST_BUILD - COMMAND ${CMAKE_COMMAND} -E $,copy,true> - $/../service/wireguard-service/wireguard-service.exe - $/wireguard/wireguard-service.exe - COMMAND_EXPAND_LISTS - ) -endif() - - target_sources(${PROJECT} PRIVATE ${SOURCES} ${HEADERS} ${RESOURCES} ${QRC}) qt_finalize_target(${PROJECT}) diff --git a/deploy/build_windows.bat b/deploy/build_windows.bat index 7ae3e9f6..c4b7b8cf 100644 --- a/deploy/build_windows.bat +++ b/deploy/build_windows.bat @@ -68,7 +68,6 @@ signtool sign /v /n "Privacy Technologies OU" /fd sha256 /tr http://timestamp.co echo "Copying deploy data..." xcopy %DEPLOY_DATA_DIR% %OUT_APP_DIR% /s /e /y /i /f xcopy %PREBILT_DEPLOY_DATA_DIR% %OUT_APP_DIR% /s /e /y /i /f -copy "%WORK_DIR:"=%\service\wireguard-service\release\wireguard-service.exe" %OUT_APP_DIR%\wireguard\ cd %SCRIPT_DIR% xcopy %SCRIPT_DIR:"=%\installer %WORK_DIR:"=%\installer /s /e /y /i /f