Turn on winsparkle update checking support.
Default to ON on Windows for x64 or x86. Set new appcast URL, this will be in the github pages repo. We will need to get everything ready for the next release. Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
parent
f1abbc5f83
commit
83614290be
|
@ -172,12 +172,8 @@ option(ENABLE_FFMPEG "Enable ffmpeg A/V recording" ${FFMPEG_DEFAULT})
|
|||
|
||||
set(ONLINEUPDATES_DEFAULT OFF)
|
||||
|
||||
if(WIN32 AND (AMD64 OR X86_32))
|
||||
|
||||
# currently we do not turn this on until we do more work on this feature
|
||||
#
|
||||
# set(ONLINEUPDATES_DEFAULT ON) # use winsparkle
|
||||
|
||||
if(WIN32 AND (X64 OR X86))
|
||||
set(ONLINEUPDATES_DEFAULT ON) # use winsparkle
|
||||
endif()
|
||||
|
||||
option(ENABLE_ONLINEUPDATES "Enable online update checks" ${ONLINEUPDATES_DEFAULT})
|
||||
|
|
|
@ -205,8 +205,7 @@ static void init_check_for_updates()
|
|||
{
|
||||
#ifdef __WXMSW__
|
||||
wxString version(vbam_version);
|
||||
//win_sparkle_set_appcast_url("https://github.com/visualboyadvance-m/visualboyadvance-m/data/appcast.xml");
|
||||
win_sparkle_set_appcast_url("https://raw.githubusercontent.com/visualboyadvance-m/visualboyadvance-m/update-checker/data/appcast.xml");
|
||||
win_sparkle_set_appcast_url("http://data.vba-m.com/appcast.xml");
|
||||
win_sparkle_set_app_details(L"visualboyadvance-m", L"VisualBoyAdvance-M", version.wc_str());
|
||||
win_sparkle_init();
|
||||
#endif // __WXMSW__
|
||||
|
|
Loading…
Reference in New Issue