Prepare Android release and refine bookshelf
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user