mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Return path to built package in Start-PSBuild
For Windows only right now.
This commit is contained in:
1 parent
b4ed5e2534
commit
691618d335
1 file changed
+3
-3
+3
-3
@@ -433,8 +433,7 @@ Built upon .NET Core, it is also a C# REPL.
|
||||
Write-Verbose "Packaging $Source"
|
||||
|
||||
if ($IsWindows) {
|
||||
Create-MSIPackage -ProductSourcePath $Source -ProductVersion $Version -Verbose
|
||||
return
|
||||
return Create-MSIPackage -ProductSourcePath $Source -ProductVersion $Version -Verbose
|
||||
}
|
||||
|
||||
if (-not (Get-Command "fpm" -ErrorAction SilentlyContinue)) {
|
||||
@@ -1009,8 +1008,9 @@ function Create-MSIPackage
|
||||
& $wixCandleExePath "$ProductWxsPath" "$wixFragmentPath" -out (Join-Path "$env:Temp" "\\") -arch x64 -v
|
||||
& $wixLightExePath -out "$productVersionWithName.msi" $wixObjProductPath $wixObjFragmentPath -ext WixUIExtension -v
|
||||
|
||||
Write-Verbose "You can find the MSI @ $msiLocationPath"
|
||||
|
||||
del *.wixpdb -Force
|
||||
Write-Verbose "You can find the MSI @ $msiLocationPath"
|
||||
return $msiLocationPath
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user