fix: windows PowerShell script

This commit is contained in:
zhayujie
2026-03-29 18:28:50 +08:00
parent 3cb5a0fbd6
commit 511ee0bbaf
13 changed files with 169 additions and 43 deletions

View File

@@ -408,7 +408,7 @@ def get_root():
def read_file(path):
with open(path, mode="r", encoding="utf-8") as f:
with open(path, mode="r", encoding="utf-8-sig") as f:
return f.read()