From c32be46adb1fbe73a90ed38448b482144d3be7db Mon Sep 17 00:00:00 2001 From: liuyu65 Date: Thu, 8 Oct 2026 21:54:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(scripts):=20publish=5Frelease.ps1=20?= =?UTF-8?q?=E8=BD=AC=20UTF-8=20with=20BOM?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Windows PowerShell 5.1 按 ANSI 解码无 BOM 的 .ps1,中文会导致语法错误; 加 BOM 后脚本可正常解析执行。 --- scripts/publish_release.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish_release.ps1 b/scripts/publish_release.ps1 index da69fc0..36c43a1 100644 --- a/scripts/publish_release.ps1 +++ b/scripts/publish_release.ps1 @@ -1,4 +1,4 @@ -# ============================================================ +# ============================================================ # 发布新版本到 Gitea Releases(更新说明 + 安装包附件) # # 用法(在仓库根目录或任意位置):