Include version in update/install

This commit is contained in:
Eric Reed
2013-05-13 21:47:10 -04:00
parent c2be223828
commit 4225e175ee
3 changed files with 13 additions and 4 deletions

View File

@@ -101,6 +101,11 @@ namespace MediaBrowser.Common.Implementations.Updates
try
{
File.Copy(tempFile, target, true);
//If it is an archive - write out a version file so we know what it is
if (isArchive)
{
File.WriteAllText(target+".ver", package.versionStr);
}
}
catch (IOException e)
{