Implement file version checking for updater (#499)

* Implement file version checking for updater

* Increment version
This commit is contained in:
2023-11-23 18:17:58 +01:00
committed by GitHub
parent 9fe4be0467
commit f788a10879
5 changed files with 42 additions and 8 deletions
+2
View File
@@ -15,10 +15,12 @@ function Get-FileMetadata {
Set-Location -Path .\Publish
$relativePath = Resolve-Path -Path $Path -Relative
Set-Location -Path $currentLocation
$versionInfo = $fileInfo.VersionInfo.ProductVersion
return @{
Name = $fileInfo.Name
Size = $fileInfo.Length
RelativePath = $relativePath.trim(".\\")
VersionInfo = $versionInfo
}
}