Improve Compile Script a bit Deduplicating a lot of un-needed pre-fixes - Improve implementation for 'Invoke-Preprocessing' Script Tool

This commit is contained in:
Mr.k
2024-08-19 21:20:14 +03:00
parent 34bf3cfb81
commit 3c634a5b87
3 changed files with 78 additions and 40 deletions

View File

@ -119,7 +119,7 @@ function Get-TabXaml {
}
# Dot-source the Get-WPFObjectName function
. "$($sync.PSScriptRoot)\functions\private\Get-WPFObjectName.ps1"
. "functions\private\Get-WPFObjectName.ps1"
$categorycontent = $($category -replace '^.__', '')
$categoryname = Get-WPFObjectName -type "Label" -name $categorycontent