fix: don't always build updater on platforms besides mac

Signed-off-by: seth <getchoo@tuta.io>
This commit is contained in:
seth
2023-10-17 19:05:05 -04:00
parent 5aa2b88861
commit 069bc887f1
2 changed files with 6 additions and 1 deletions

View File

@ -347,6 +347,11 @@ add_subdirectory(program_info)
####################################### Install layout #######################################
set(Launcher_ENABLE_UPDATER NO)
set(Launcher_BUILD_UPDATER NO)
if (NOT APPLE AND (NOT Launcher_UPDATER_GITHUB_REPO STREQUAL "" AND NOT Launcher_BUILD_ARTIFACT STREQUAL ""))
set(Launcher_BUILD_UPDATER YES)
endif()
if(NOT (UNIX AND APPLE))
# Install "portable.txt" if selected component is "portable"