Skip to content

Instantly share code, notes, and snippets.

@R0rt1z2
Created November 19, 2022 10:02
Show Gist options
  • Save R0rt1z2/393667f8b578ea60623bdf93b36281ea to your computer and use it in GitHub Desktop.
Save R0rt1z2/393667f8b578ea60623bdf93b36281ea to your computer and use it in GitHub Desktop.
Windows wrapper for realme-ota
@echo off
setlocal
chcp 65001 2>nul >nul
cd "C:\Program Files\Python*\Scripts\realme-ota\realme_ota" 2>nul >nul
if exist main.py (
python main.py %*
) else (
powershell write-host -fore Red realme-ota not found!
)
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment