mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-15 22:56:48 +00:00
GODT-1714: Add version check between bridge-GUI and bridge
GODT-1714: link the update check mecanism [skip-ci] GODT-1714: bind update check notification [skip-ci] GODT-1714: Send the CheckFinishEvent in defer to be sure it never loop for eternity GODT-1714: simplify the BRIDGE_APP_VERSION configuration [skip-ci] GODT-1714: Fix CheckUpdateAndNotify based on what already exists GODT-1714: Restore LandingPage and ReleaseNotesPage links [skip-ci] Other: Cactch case in CMake where BRIDGE_APP_VERSION is not filled [skip-ci]
This commit is contained in:
@ -46,8 +46,15 @@ if (WIN32)
|
||||
endif()
|
||||
set(CMAKE_TOOLCHAIN_FILE "$ENV{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" CACHE STRING "toolchain")
|
||||
|
||||
|
||||
project(bridge-gui LANGUAGES CXX)
|
||||
|
||||
if (NOT DEFINED BRIDGE_APP_VERSION)
|
||||
message(FATAL_ERROR "BRIDGE_APP_VERSION is not defined.")
|
||||
else()
|
||||
message(STATUS "Bridge version is ${BRIDGE_APP_VERSION}")
|
||||
endif()
|
||||
|
||||
configure_file(Version.h.in ${CMAKE_SOURCE_DIR}/Version.h)
|
||||
if (APPLE) # On macOS, we have some Objective-C++ code in DockIcon to deal with the dock icon.
|
||||
enable_language(OBJC OBJCXX)
|
||||
endif()
|
||||
@ -137,6 +144,7 @@ add_executable(bridge-gui
|
||||
Log.cpp Log.h
|
||||
main.cpp
|
||||
Pch.h
|
||||
Version.h
|
||||
QMLBackend.cpp QMLBackend.h
|
||||
${DOCK_ICON_SRC_FILE} DockIcon/DockIcon.h
|
||||
GRPC/GRPCClient.cpp GRPC/GRPCClient.h
|
||||
|
||||
Reference in New Issue
Block a user