feat(android): add isolated lvbu persona build and pinned asset selection

This commit is contained in:
zenord
2026-10-14 16:41:36 +08:00
parent 3371997252
commit 5a7be557d0
23 changed files with 1507 additions and 31 deletions
+4 -3
View File
@@ -6,9 +6,10 @@ import argparse, hashlib, io, json, subprocess
from pathlib import Path
from PIL import Image
ROOT=Path(__file__).resolve().parents[1]
PIN='208f703ed92bf795bfeb78a1cef89b67bed2e45da80038a56157fd1ecd4cfa93'
ASSET_ROOT='avatar/a01-black-tulle-roomy720-correct03/'
BASIC_ROOT='avatar/startup-black-tulle-correct03/'
MEDIA=json.loads((ROOT/'manifests/character-build-profiles.json').read_bytes())['mediaBundles']['black-correct03']
PIN=MEDIA['indexSha256']
ASSET_ROOT=MEDIA['assetRoot']
BASIC_ROOT=MEDIA['bootstrapRoot']
sha=lambda data:hashlib.sha256(data).hexdigest()
def derive(source):