Skip to content

Commit

Permalink
Merge pull request #346 from amnezia-vpn/bugfix/win-build
Browse files Browse the repository at this point in the history
Windows. Remove unused binary from build files
  • Loading branch information
pokamest committed Sep 25, 2023
2 parents b4df5c0 + 7ede1a8 commit 1a8c087
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
11 changes: 0 additions & 11 deletions client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -322,16 +322,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})
1 change: 0 additions & 1 deletion deploy/build_windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a8c087

Please sign in to comment.