Created
November 27, 2022 18:25
-
-
Save R0rt1z2/c0e199da8288b1e3f478d64a4c3f558c to your computer and use it in GitHub Desktop.
Windows wrapper for oplus-unlock
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\oplus-unlock\oplus_unlock" 2>nul >nul | |
if exist main.py ( | |
python main.py %* | |
) else ( | |
powershell write-host -fore Red oplus-unlock not found! | |
) | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment