mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-24 18:33:31 +08:00
Added Assets path to New-MSIPackage invocation
This commit is contained in:
parent
3c9347b3bb
commit
e8145e056d
@ -504,7 +504,7 @@ Built upon .NET Core, it is also a C# REPL.
|
||||
Write-Verbose "Packaging $Source"
|
||||
|
||||
if ($IsWindows) {
|
||||
$msiPackagePath = New-MSIPackage -ProductSourcePath $Source -ProductVersion $Version -Verbose
|
||||
$msiPackagePath = New-MSIPackage -ProductSourcePath $Source -ProductVersion $Version -AssetsPath "$PSScriptRoot\Assets" -Verbose
|
||||
$appxPackagePath = New-AppxPackage -PackageVersion $Version -SourcePath $Source -AssetsPath "$PSScriptRoot\Assets" -Verbose
|
||||
|
||||
$packages = @($msiPackagePath, $appxPackagePath)
|
||||
|
Loading…
Reference in New Issue
Block a user