小米路由器解锁脚本

发布时间: 2024-07-31 热度: 2718

使用方法:

Windows

  • run.bat

@echo off
chcp 866 >NUL
SET PYTHONUNBUFFERED=TRUE

if "%~1"=="" goto menu

python\python.exe %*
goto :EOF

:menu
python\python.exe menu.py
goto :EOF

Linux / Mac OS

  • 安装 python 3.8, openssl
  • run.sh

#!/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

项目地址:https://github.com/openwrt-xiaomi/xmir-patcher/

请在下方留下您的评论.加入TG吹水群