Using Version class.

This commit is contained in:
BaronGreenback
2020-06-22 11:57:46 +01:00
parent bf1bbbdd3e
commit a25a233b75
2 changed files with 35 additions and 97 deletions

View File

@@ -387,7 +387,7 @@ namespace Emby.Server.Implementations.Updates
}
// Version folder as they cannot be overwritten in Windows.
targetDir += "." + package.Version.ToString();
targetDir += "_" + package.Version.ToString();
if (Directory.Exists(targetDir))
{