diff --git a/README.md b/README.md index 530b6b8..251ffbe 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,14 @@ # XMiR-Patcher Firmware patcher for Xiaomi routers + + +## Usage + +### Windows + +Run `run.bat` + +### Linux / Mac OS + +* Install python 3.8, openssl +* Run `run.sh` \ No newline at end of file diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..ada10be --- /dev/null +++ b/run.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +set -e + +python3 -m venv venv + +source ./venv/bin/activate + +python3 -m pip install -r requirements.txt + +python3 menu.py "$1" + +exit 0 \ No newline at end of file