Kaynağa Gözat

fix(gallery): sync-index.ps1 改存为 UTF-8 with BOM

Windows PowerShell 5.1 按 ANSI 读 .ps1,无 BOM 的 UTF-8 中文会变乱码导致脚本无法解析。
王硕 6 gün önce
ebeveyn
işleme
16214f8035
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      sync-index.ps1

+ 1 - 1
sync-index.ps1

@@ -1,4 +1,4 @@
-<#
+<#
 .SYNOPSIS
     按【发布仓里真实存在的包】重算 index.json 的 size / sha256。