Create proper relative paths by default
This commit is contained in:
parent
a8a144c147
commit
b1aa93d420
4 changed files with 4 additions and 4 deletions
scripts/Windows/OS
|
@ -37,7 +37,7 @@ $newCommand = $installationCommand.ParentNode.AppendChild($installationCommand.C
|
|||
$newCommand.SelectSingleNode("./ua:CommandLine", $namespace).InnerText = `
|
||||
"powershell -Command " + `
|
||||
$(Get-Content "$PSScriptRoot/InitialBoot.ps1") + `
|
||||
"; pwsh '$env:SETUP_SCRIPT_NAME';";
|
||||
"; pwsh '$([System.IO.Path]::GetRelativePath("$PSScriptRoot/../../..", $env:SETUP_SCRIPT_NAME))';";
|
||||
|
||||
$order = [int]$newCommand.SelectSingleNode("./ua:Order", $namespace).InnerText;
|
||||
$newCommand.SelectSingleNode("./ua:Order", $namespace).InnerText = $order + 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue