WinslopFix.psm1
|
# WinslopFix Module Loader # Dot-sources internal components from Public/Private folder architecture. $PrivatePath = Join-Path $PSScriptRoot 'Private' $PublicPath = Join-Path $PSScriptRoot 'Public' # Load Private helpers first (dependencies for Public functions) if (Test-Path $PrivatePath) { Get-ChildItem -Path $PrivatePath -Filter *.ps1 | ForEach-Object { . $_.FullName } } # Load Public functions if (Test-Path $PublicPath) { Get-ChildItem -Path $PublicPath -Filter *.ps1 | ForEach-Object { . $_.FullName } } |