mirror of
https://github.com/gwdevhub/Daybreak.git
synced 2026-07-15 15:19:57 +00:00
Implement file version checking for updater (#499)
* Implement file version checking for updater * Increment version
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user