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

This commit is contained in:
yu 2026-10-30 08:58:44 +08:00
parent e59034d700
commit bb3412fff7

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