Skip to content

Commit

Permalink
Update Compile.ps1
Browse files Browse the repository at this point in the history
- Added comments to help explain changes.
  • Loading branch information
ruxunderscore committed Sep 9, 2024
1 parent 58d2f3d commit e8650e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Compile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,12 @@ Get-ChildItem "$workingdir\config" | Where-Object {$psitem.extension -eq ".json"
$script_content.Add($(Write-output "`$sync.configs.$($psitem.BaseName) = '$json' `| convertfrom-json" ))
}

# Read the entire XAML file as a single string, preserving line breaks
$xaml = Get-Content "$workingdir\xaml\inputXML.xaml" -Raw

Update-Progress "Adding: Xaml " 90

# Add the XAML content to $script_content using a here-string
$script_content.Add(@"
`$inputXML = @'
$xaml
Expand Down

0 comments on commit e8650e2

Please sign in to comment.