This commit is contained in:
2025-11-09 13:40:48 +01:00
parent 6487c54797
commit bd56066fbd
2 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
</PropertyGroup>
<PropertyGroup>
<Version>4.4.4</Version>
<Version>4.4.5</Version>
</PropertyGroup>
<ItemGroup>

View File

@@ -204,8 +204,8 @@ public class UpdateClient(string updateUrl, AppVersion currentVersion, AppChanne
if (packageSource.PackageType == PackageType.File)
srcFilePath = dataPath;
else if (!string.IsNullOrWhiteSpace(packageSource.Address))
srcFilePath = Path.Combine(dataPath, packageSource.Address);
else if (!string.IsNullOrWhiteSpace(packageSource.Path))
srcFilePath = Path.Combine(dataPath, packageSource.Path);
else if (Directory.GetFiles(dataPath).FirstOrDefault() is { } firstFile)
srcFilePath = firstFile;