Skip to content

Instantly share code, notes, and snippets.

@R0rt1z2
Created November 27, 2022 18:25
Show Gist options
  • Save R0rt1z2/c0e199da8288b1e3f478d64a4c3f558c to your computer and use it in GitHub Desktop.
Save R0rt1z2/c0e199da8288b1e3f478d64a4c3f558c to your computer and use it in GitHub Desktop.
Windows wrapper for oplus-unlock
@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