File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1- $Version = " 2021.1.0"
21$IsPreview = $false
32
43$BuildPath = " $PSScriptRoot \Build"
@@ -21,6 +20,9 @@ if(-not(Test-Path -Path "$BuildPath\NETworkManager\NETworkManager.exe"))
2120 Write-Error " Could not find dotnet release build. Is .NET SDK 5.0 or later installed?" - ErrorAction Stop
2221}
2322
23+ # Get NETworkManager File Version
24+ $Version = [System.Diagnostics.FileVersionInfo ]::GetVersionInfo(" $BuildPath \NETworkManager\NETworkManager.exe" ).FileVersion
25+
2426# Cleanup WebView2Loader.dll (https://github.com/MicrosoftEdge/WebView2Feedback/issues/461)
2527Remove-Item " $BuildPath \NETworkManager\arm64" - Recurse
2628Remove-Item " $BuildPath \NETworkManager\x64" - Recurse
5456
5557Get-ChildItem - Path $BuildPath | Where-Object {$_.Name.EndsWith (" .zip" ) -or $_.Name.EndsWith (" .exe" )} | Get-FileHash
5658
57- Write-Host " Build finished! All files are here: $BuildPath " - ForegroundColor Green
59+ Write-Host " Build finished! All files are here: $BuildPath " - ForegroundColor Green
You can’t perform that action at this time.
0 commit comments