Automatically determine the entrypoint during windows install
This commit is contained in:
parent
b1aa93d420
commit
bfad7f1228
2 changed files with 4 additions and 1 deletions
|
@ -8,7 +8,6 @@
|
|||
|
||||
function Invoke-WindowsInstallation([Context] $context)
|
||||
{
|
||||
$context.EntryPoint = Get-Entrypoint;
|
||||
$configPath = "$PSScriptRoot/../Config";
|
||||
$softwarePath = "$PSScriptRoot/../Software";
|
||||
|
||||
|
|
|
@ -11,6 +11,10 @@ class Context {
|
|||
[string]$RunOnceName = "PortValhalla";
|
||||
[string]$StagePropertyName = "Stage";
|
||||
|
||||
Context() {
|
||||
$this.EntryPoint = Get-Entrypoint;
|
||||
}
|
||||
|
||||
[string] ProjectRoot() {
|
||||
return Resolve-Path (Join-Path $PSScriptRoot ".." ".." "..");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue