Prepare Android release and refine bookshelf

This commit is contained in:
Hadrian Burkhardt
2026-11-15 16:20:17 +01:00
parent fc71accb38
commit 062c798fcc
15 changed files with 530 additions and 193 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
"""Read-only game-progress smoke check of the installed Flutter app; no fixtures/reset."""
import argparse,re,subprocess,time,xml.etree.ElementTree as ET
from pathlib import Path
p=argparse.ArgumentParser();p.add_argument('--serial',required=True);p.add_argument('--package',default='com.lumen.daily');p.add_argument('--expect-fresh',action='store_true');a=p.parse_args()
p=argparse.ArgumentParser();p.add_argument('--serial',required=True);p.add_argument('--package',default='de.softwareapp_hb.lumen.daily');p.add_argument('--expect-fresh',action='store_true');a=p.parse_args()
assert re.fullmatch(r'[a-zA-Z0-9_.]+',a.package)
base=['/home/ubuntu/Android/Sdk/platform-tools/adb','-s',a.serial];out=Path('artifacts/flutter-check');out.mkdir(parents=True,exist_ok=True)
def adb(*args):return subprocess.check_output(base+list(args))