mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Moved MSI wxs file to assets ; Renamed MSI package creation function to be compliant with PowerShell verb-noun conventions
This commit is contained in:
1 parent
096779d1be
commit
061cf4a6a0
2 files changed
+3
-3
No files matched your search
File renamed without changes.
+3
-3
@@ -443,7 +443,7 @@ Built upon .NET Core, it is also a C# REPL.
|
||||
Write-Verbose "Packaging $Source"
|
||||
|
||||
if ($IsWindows) {
|
||||
$msiPackagePath = Create-MSIPackage -ProductSourcePath $Source -ProductVersion $Version -Verbose
|
||||
$msiPackagePath = New-MSIPackage -ProductSourcePath $Source -ProductVersion $Version -Verbose
|
||||
$appxPackagePath = New-AppxPackage -PackageVersion $Version -SourcePath $Source -AssetsPath "$PSScriptRoot\Assets" -Verbose
|
||||
|
||||
$packages = @($msiPackagePath, $appxPackagePath)
|
||||
@@ -957,7 +957,7 @@ internal class {0} {{
|
||||
$body -f $ClassName,$ModuleName,$entries
|
||||
}
|
||||
|
||||
function Create-MSIPackage
|
||||
function New-MSIPackage
|
||||
{
|
||||
[CmdletBinding()]
|
||||
param (
|
||||
@@ -982,7 +982,7 @@ function Create-MSIPackage
|
||||
|
||||
# File describing the MSI Package creation semantics
|
||||
[ValidateNotNullOrEmpty()]
|
||||
[string] $ProductWxsPath = (Join-Path $pwd 'Product.wxs')
|
||||
[string] $ProductWxsPath = (Join-Path $pwd '\assets\Product.wxs')
|
||||
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user