This commit is contained in:
2025-10-25 00:22:16 +08:00
parent 23f63e42c8
commit 27426f1f8f
10 changed files with 273 additions and 783 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -49,7 +49,7 @@ def main(arg):
if __name__ == "__main__": if __name__ == "__main__":
# 获取启动时候传递的参数 # 获取启动时候传递的参数
main(sys.argv) # main(sys.argv)
# 添加iOS开发包到电脑上 # 添加iOS开发包到电脑上
deployer = DevDiskImageDeployer(verbose=True) deployer = DevDiskImageDeployer(verbose=True)

View File

@@ -842,9 +842,14 @@ class AiUtils(object):
return not (ny2 < ry1 or ny1 > ry2) # 任意重叠即算属于资料区 return not (ny2 < ry1 or ny1 > ry2) # 任意重叠即算属于资料区
def is_toolbar_like(o) -> bool: def is_toolbar_like(o) -> bool:
# 在 Cell 里的元素绝不是底部工具条避免误杀“hgh”这类贴着底部的最后一条消息
if get_ancestor_cell(o) is not None:
return False
txt = get_text(o) txt = get_text(o)
if txt in EXCLUDES_LITERAL: if txt in EXCLUDES_LITERAL:
return True return True
y = cls.parse_float(o, 'y', 0.0) y = cls.parse_float(o, 'y', 0.0)
h = cls.parse_float(o, 'height', 0.0) h = cls.parse_float(o, 'height', 0.0)
near_bottom = (area_bot - (y + h)) < 48 near_bottom = (area_bot - (y + h)) < 48

View File

@@ -26,7 +26,7 @@ def _force_utf8_everywhere():
except Exception: except Exception:
pass pass
_force_utf8_everywhere() # _force_utf8_everywhere()
class LogManager: class LogManager:
""" """