Compile from Anywhere you want - Running 'Compile.ps1' Works in any directory you call it from

This commit is contained in:
Mr.k
2024-07-26 03:32:23 +03:00
parent 3a30f9d4b0
commit 03e32279bb
2 changed files with 19 additions and 18 deletions

View File

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