# Deploy Script Wrapper # This script wraps the Chinese-named deploy script to avoid encoding issues $ErrorActionPreference = "Stop" # Get the script directory $scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path # Find the Chinese-named deploy script using Get-ChildItem $deployScript = Get-ChildItem -Path $scriptDir -Filter "*.ps1" | Where-Object { $_.Name -like "*部署*" } | Select-Object -First 1 if (-not $deployScript) { Write-Host "Error: Deploy script not found in $scriptDir" -ForegroundColor Red exit 1 } Write-Host "Found deploy script: $($deployScript.FullName)" -ForegroundColor Green # Execute the deploy script with all passed parameters & $deployScript.FullName $args