mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
ZipIntaller: use file timestamp if version string is missing.
Instead of using some arbitrary and not really useful string use the timestamp of the downloaded file if version string is provided by the caller. This also makes it possible to check if the downloaded file is actually a different one. Use it for manual and game file downloads, as this gives more reasonable values than using the date transmitted for daily (archived) build and as support for archived builds will be removed shortly. Change-Id: I0c751fabe7bb516edca93a5f73f077a611d4ef87
This commit is contained in:
parent
5c36e2f21c
commit
968448c9cd
4 changed files with 11 additions and 5 deletions
|
|
@ -994,7 +994,7 @@ void RbUtilQt::installDoom()
|
|||
|
||||
installer->setUrl(SystemInfo::value(SystemInfo::DoomUrl).toString());
|
||||
installer->setLogSection("Game Addons");
|
||||
installer->setLogVersion(ServerInfo::value(ServerInfo::DailyDate).toString());
|
||||
installer->setLogVersion();
|
||||
installer->setMountPoint(RbSettings::value(RbSettings::Mountpoint).toString());
|
||||
if(!RbSettings::value(RbSettings::CacheDisabled).toBool())
|
||||
installer->setCache(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue