Created
November 19, 2022 10:02
-
-
Save R0rt1z2/393667f8b578ea60623bdf93b36281ea to your computer and use it in GitHub Desktop.
Windows wrapper for realme-ota
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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