improve System Update user experience

This commit is contained in:
Shaun Walker
2021-06-02 19:22:20 -04:00
parent 3db12a225b
commit dd9f2e6675
2 changed files with 10 additions and 11 deletions

View File

@ -221,7 +221,7 @@ namespace Oqtane.Infrastructure
{
// get package with highest version
string packagename = "";
string[] packages = Directory.GetFiles(folder, "Oqtane.Framework.*.nupkg");
string[] packages = Directory.GetFiles(folder, Constants.PackageId + ".*.nupkg");
if (packages.Length > 0)
{
packagename = packages[packages.Length - 1]; // use highest version