Commit 7208b76a authored by Alexandre Lision's avatar Alexandre Lision

autoupdate: use proper string to check updates

Sparkle tries to match the sparkle:version field in the RSS feed, to the
CFBundleVersion field in the app's info.plist.

The latest was set to "Samuel de Champlain" and not the current date, Sparkle
was never able to match the two properly

Issue: #79077
Change-Id: I6352db4ccbe5e81a39e09dd346616ec9cbb99d84
parent 0ab46082
......@@ -13,9 +13,9 @@ ENDIF("${RING_VERSION}" STREQUAL "")
MESSAGE("Building Ring version - " ${RING_VERSION})
SET(RING_VERSION_NAME "Samuel de Champlain")
SET(BUNDLE_VERSION "Samuel de Champlain - beta")
SET(RING_VERSION_NAME "Samuel de Champlain (${RING_VERSION})")
MESSAGE(${RING_VERSION_NAME})
SET(PROJ_COPYRIGHT " © 2015 Savoir-faire Linux \n GPLv3 https://www.gnu.org/copyleft/gpl.html")
ADD_DEFINITIONS("-std=c++11 -fobjc-arc")
......@@ -239,9 +239,9 @@ SET(MACOSX_BUNDLE_NSPRINCIPAL_CLASS "NSApplication")
SET_TARGET_PROPERTIES(${PROJ_NAME} PROPERTIES
MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/cmake/MacOSXBundleInfo.plist.in
MACOSX_BUNDLE_GUI_IDENTIFIER "cx.ring"
MACOSX_BUNDLE_SHORT_VERSION_STRING ${RING_VERSION}
MACOSX_BUNDLE_LONG_VERSION_STRING "${PROJ_NAME} ${RING_VERSION} Nightly"
MACOSX_BUNDLE_BUNDLE_VERSION ${RING_VERSION_NAME}
MACOSX_BUNDLE_SHORT_VERSION_STRING "${RING_VERSION_NAME}"
MACOSX_BUNDLE_LONG_VERSION_STRING "${PROJ_NAME} ${RING_VERSION_NAME} Nightly"
MACOSX_BUNDLE_BUNDLE_VERSION ${RING_VERSION}
MACOSX_BUNDLE_COPYRIGHT "${PROJ_COPYRIGHT}"
MACOSX_BUNDLE_INFO_STRING "Nightly build of ${PROJ_NAME} ${RING_VERSION} for testing and development"
MACOSX_BUNDLE_BUNDLE_NAME ${PROJ_NAME}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment