()
| 359 | def require_termux() -> bool: |
| 360 | if is_termux(): |
| 361 | return True |
| 362 | print(c("This script must be run inside Termux.", C.ERR)) |
| 363 | print("Run it with: python 'Mobile Developer Setup.py'") |
| 364 | return False |
| 365 | |
| 366 | |
| 367 | def quote_cmd(args: Iterable[str]) -> str: |
| 368 | return " ".join(shlex.quote(str(x)) for x in args) |
| 369 | |
| 370 |
no outgoing calls
no test coverage detected