fix: 桌面拾取脚本补 UTF8 BOM,修复 PowerShell 5.1 中文乱码

This commit is contained in:
yu committed 2026-10-30 08:58:44 +08:00
1 parent e59034d700
commit bb3412fff7
1 file changed
+1 -1
+1 -1
View File
@@ -1,4 +1,4 @@
param([string]$Mode = "element")
param([string]$Mode = "element")
$ErrorActionPreference = "Continue"
Add-Type -AssemblyName UIAutomationClient, UIAutomationTypes
Add-Type -AssemblyName System.Windows.Forms