mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
Merge remote-tracking branch 'tuxbox/master'
* needs compile fixes * needs additional tests, of course :-)
This commit is contained in:
@@ -144,7 +144,7 @@ bool CFlashUpdate::checkOnlineVersion()
|
||||
std::vector<CUpdateMenuTarget*> update_t_list;
|
||||
|
||||
CConfigFile _configfile('\t');
|
||||
const char * versionString = (_configfile.loadConfig("/.version")) ? (_configfile.getString( "version", "????????????????").c_str()) : "????????????????";
|
||||
const char * versionString = (_configfile.loadConfig(TARGET_PREFIX "/.version")) ? (_configfile.getString( "version", "????????????????").c_str()) : "????????????????";
|
||||
#ifdef DEBUG
|
||||
printf("[update] file %s\n", g_settings.softupdate_url_file.c_str());
|
||||
#endif
|
||||
@@ -200,7 +200,7 @@ bool CFlashUpdate::selectHttpImage(void)
|
||||
int curVer, newVer, newfound = 0;
|
||||
|
||||
CConfigFile _configfile('\t');
|
||||
const char * versionString = (_configfile.loadConfig("/.version")) ? (_configfile.getString( "version", "????????????????").c_str()) : "????????????????";
|
||||
const char * versionString = (_configfile.loadConfig(TARGET_PREFIX "/.version")) ? (_configfile.getString( "version", "????????????????").c_str()) : "????????????????";
|
||||
|
||||
CFlashVersionInfo curInfo(versionString);
|
||||
printf("current flash-version: %s (%d) date %s (%ld)\n", versionString, curInfo.getVersion(), curInfo.getDate(), curInfo.getDateTime());
|
||||
@@ -474,7 +474,7 @@ printf("[update] mode is %d\n", softupdate_mode);
|
||||
}
|
||||
|
||||
strcpy(msg, g_Locale->getText(LOCALE_FLASHUPDATE_NOVERSION));
|
||||
msg_body = LOCALE_FLASHUPDATE_MSGBOX_MANUAL;
|
||||
//never read msg_body = LOCALE_FLASHUPDATE_MSGBOX_MANUAL;
|
||||
}
|
||||
return (ShowMsg(LOCALE_MESSAGEBOX_INFO, msg, CMessageBox::mbrYes, CMessageBox::mbYes | CMessageBox::mbNo, NEUTRINO_ICON_UPDATE) == CMessageBox::mbrYes); // UTF-8
|
||||
}
|
||||
|
Reference in New Issue
Block a user