Create SparkleUpdater
class for access from Qt/C++
To actually get automatic updates going, all that needs to happen is that `SparkleUpdater` needs to be initialized. The rest of the functions can be connected to elements in the UI.
This commit is contained in:
@ -164,6 +164,11 @@ set(UPDATE_SOURCES
|
||||
updater/DownloadTask.cpp
|
||||
)
|
||||
|
||||
set(MAC_UPDATE_SOURCES
|
||||
updater/macsparkle/SparkleUpdater.h
|
||||
updater/macsparkle/SparkleUpdater.mm
|
||||
)
|
||||
|
||||
add_unit_test(UpdateChecker
|
||||
SOURCES updater/UpdateChecker_test.cpp
|
||||
LIBS Launcher_logic
|
||||
@ -600,6 +605,10 @@ set(LOGIC_SOURCES
|
||||
${ATLAUNCHER_SOURCES}
|
||||
)
|
||||
|
||||
if(APPLE)
|
||||
set (LOGIC_SOURCES ${LOGIC_SOURCES} ${MAC_UPDATE_SOURCES})
|
||||
endif()
|
||||
|
||||
SET(LAUNCHER_SOURCES
|
||||
# Application base
|
||||
Application.h
|
||||
|
Reference in New Issue
Block a user