Currently we have a very basic auto-update system which is basiclly if there is a new version we will let you know and you can donwload it and install over the current version.
The Cinefx servers store updates at http://updates.cinefx.org and the Cinefx applications are able to check at runtime to see if a newer version exists.
the current system, as we said, is very simple - it looks for a text file on the server and compares the value in nthat file against the value compiled into the application at build time. If they differ we launch a Dialog letting you know and giving you the option.
In the Applications they are set in Version.h (in the src folder)
#if !defined(PROD_CLASS) # define PROD_CLASS "Cine" #endif #if !defined(BUILD_CINECODE) # define CINE_NAME "Cineplay" # define CINE_VERSION "1.2.beta" #else # define CINE_NAME "Cinecode" # define CINE_VERSION "1.2.beta" #endif
On the server side these values are set/checked here. the value stored is the CINE_VERSION value referenced above
CineCode: http://updates.cinefx.org/cinecode/cinecode.txt CinePlay: http://updates.cinefx.org/cineplay/cineplay.txt
The updates themselves (applications) are stored in the repo in a different location, however it uses a similar mapping.
CineCode: http://repo.cinefx.org/cinecode/release_version_number/operating_system CinePlay: http://repo.cinefx.org/cineplay/version_version_number/operating_system
