Skip to content

Commit baf7873

Browse files
committed
allow specification of devinstall cert path
1 parent ac9f750 commit baf7873

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

DevInstall.ps1

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/usr/bin/env pwsh
22

3-
param ([Parameter(Mandatory)][SecureString] $CertPassword)
3+
param (
4+
[Parameter(Mandatory)][SecureString] $CertPassword,
5+
$CertPath = "$env:USERPROFILE\Documents\Certificates\EcsactDev.pfx"
6+
)
47

58
$ErrorActionPreference = 'Stop'
69

@@ -15,6 +18,6 @@ $GitTagSplit = $GitTag.Split(".")
1518
$IncrementedVersion = $GitTagSplit[0] + "." + $GitTagSplit[1] + "." + (([int]$GitTagSplit[2]) + 1)
1619

1720
. .\CopyDist.ps1
18-
. .\CreateMsix.ps1 -Version $IncrementedVersion -CertPassword $CertPassword
21+
. .\CreateMsix.ps1 -Version $IncrementedVersion -CertPassword $CertPassword -CertPath $CertPath
1922

2023
Add-AppPackage -Path $MsixPath

0 commit comments

Comments
 (0)