修复 bug (#454)

Co-authored-by: geng_MAX <geng_MAX@hotmail.com>
This commit is contained in:
繁花君1号 2025-04-08 23:13:26 +08:00 committed by GitHub
parent c0e702ff47
commit 27a14c249a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,7 +51,7 @@ def release_current():
def get_all_board_types():
board_configs = {}
with open("main/CMakeLists.txt") as f:
with open("main/CMakeLists.txt", encoding='utf-8') as f:
lines = f.readlines()
for i, line in enumerate(lines):
# 查找 if(CONFIG_BOARD_TYPE_*) 行