triwinds / ns-emu-tools

一个用于安装/更新 NS 模拟器的工具
GNU Affero General Public License v3.0
4.22k stars 150 forks source link

新的固件下载源 #83

Closed MengNianxiaoyao closed 1 year ago

MengNianxiaoyao commented 1 year ago

可以使用GitHub仓库https://github.com/THZoria/NX_Firmware的releases作为固件下载源

MengNianxiaoyao commented 1 year ago

该固件源在cdn下没办法获取正确的api信息

出现异常, Traceback (most recent call last):
  File "requests\models.py", line 971, in json
  File "json\__init__.py", line 346, in loads
  File "json\decoder.py", line 337, in decode
  File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "api\common_api.py", line 17, in get_available_firmware_infos
  File "module\firmware.py", line 112, in get_firmware_infos
  File "module\firmware.py", line 129, in get_firmware_infos_from_github
  File "module\network.py", line 245, in request_github_api
  File "requests\models.py", line 975, in json
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
固件信息加载异常.