mirror of
https://github.com/ReVanced/revanced-cli.git
synced 2026-01-18 00:43:58 +00:00
chore: Add click-to-run scripts
This commit is contained in:
29
scripts/1-setup-environment.bat
Normal file
29
scripts/1-setup-environment.bat
Normal file
@@ -0,0 +1,29 @@
|
||||
@echo off
|
||||
|
||||
echo Check, if OpenJDK/ Eclipse Temurin 11 or newer is installed.
|
||||
pause
|
||||
echo:
|
||||
|
||||
cd modules
|
||||
call run java -version
|
||||
cd ..
|
||||
|
||||
echo:
|
||||
set /P INSTALLED_JAVA=Can you see OpenJDK/ Eclipse Temurin 11 or newer? (y/n)
|
||||
|
||||
if "%INSTALLED_JAVA%"=="y" (
|
||||
echo The environment is set up.
|
||||
pause
|
||||
exit
|
||||
)
|
||||
|
||||
cls
|
||||
echo Install Eclipse Temurin JRE 21.
|
||||
pause
|
||||
|
||||
cd modules
|
||||
call install-java
|
||||
cd ..
|
||||
|
||||
echo The environment is set up. Rerun this script to check your environment.
|
||||
pause
|
||||
Reference in New Issue
Block a user