Skip to content

Commit

Permalink
Create RealtimeSaber.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenochxd committed Dec 21, 2022
0 parents commit ed0f856
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions RealtimeSaber.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@echo off
if "%1"=="runas" (
cd %~dp0
wmic process where name="Beat Saber.exe" CALL setpriority "Realtime"
echo Done
pause
) else (
powershell Start -File "cmd '/K %~f0 runas'" -Verb RunAs
)
exit

0 comments on commit ed0f856

Please sign in to comment.