chore(release): prepare 2.6.0 with bundled Android helper

This commit is contained in:
chenmingxuan committed 2026-11-03 12:08:11 +08:00
1 parent dc3a48f6b2
commit 73adcf25a7
8 files changed
+69 -9

No files matched your search

+5
View File
@@ -88,6 +88,7 @@ EXCLUDED_SUFFIXES = {
GIT_METADATA_FILES = {"HEAD", "config", "index", "shallow", "packed-refs"}
GIT_METADATA_DIRS = {"objects", "refs"}
RUNTIME_PAYLOADS = {"packages/artemis-accessibility-helper/ArtemisAccessibilityHelper.apk"}
def excluded(path: Path) -> bool:
@@ -104,6 +105,10 @@ def excluded(path: Path) -> bool:
return True
if name in {".ds_store", "thumbs.db", ".ipc_port", ".ls_address", ".npmrc", ".pypirc"}:
return True
# The tracked helper is needed at runtime on fresh Android installations.
# Keep this exact payload, while excluding unrelated APKs and build outputs.
if path.as_posix() in RUNTIME_PAYLOADS:
return False
return path.suffix.lower() in EXCLUDED_SUFFIXES or name.endswith((".db-wal", ".db-shm", "~"))