fix: 空渠道检测改用JSONObject.has + 移除gitignore误排除manifest

This commit is contained in:
LukeMackin
2026-07-19 23:10:03 +08:00
parent ffd05e3e17
commit a96560966c
33 changed files with 891 additions and 6 deletions

17
check_files.py Normal file
View File

@@ -0,0 +1,17 @@
import sys
import io
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
# Check screen2.png
data = open(r"D:\Yuzu-GCA\screen2.png", 'rb').read()
print(f"screen2.png: Size={len(data)}")
print(f"First 20 bytes: {' '.join(f'{b:02X}' for b in data[:20])}")
print(f"Is valid PNG: {data[:8] == b'\x89PNG\r\n\x1a\n'}")
# Also check the fixed files
for fname in ['screen_fixed.png', 'screen_fixed2.png']:
try:
d = open(r"D:\\Yuzu-GCA\\" + fname, 'rb').read()
print(f"\n{fname}: Size={len(d)}")
except:
print(f"\n{fname}: NOT FOUND")