-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRCO Reborn (SUPER VERSION) Installer.cmd
52 lines (44 loc) · 1.34 KB
/
RCO Reborn (SUPER VERSION) Installer.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
@echo off
echo.
echo RCO Reborn (SUPER VERSION) was created and is maintained by avencores
echo.
echo.
echo Starting RCO installation...
echo.
for /d %%i in ("%localappdata%\Roblox\Versions\*") do (
if exist "%%i\RobloxPlayerBeta.exe" (
set folder=%%i
goto :NextStep
)
)
for /d %%i in ("%cd:~0,2%\Program Files (x86)\Roblox\Versions\*") do (
if exist "%%i\RobloxPlayerBeta.exe" (
set folder=%%i
goto :NextStep
)
)
for /d %%i in ("%cd:~0,2%\Program Files\Roblox\Versions\*") do (
if exist "%%i\RobloxPlayerBeta.exe" (
set folder=%%i
goto :NextStep
)
)
:NextStep
if not exist "%folder%\ClientSettings" (
mkdir "%folder%\ClientSettings"
)
echo Downloading ClientAppSettings.json file...
powershell.exe -Command "& {(New-Object System.Net.WebClient).DownloadFile('https://raw.githubusercontent.com/AvenCores/RCO-Reborn/main/Super/ClientAppSettings.json', '%folder%\ClientSettings\ClientAppSettings.json')}"
if %errorlevel% EQU 0 (
echo.
echo ClientAppSettings.json downloaded successfully!
echo.
echo SUCCESS: RCO Reborn installation completed!
) else (
echo.
echo Failed to download ClientAppSettings.json.
echo.
echo ERROR: RCO Reborn installation failed!
)
echo.
echo Press any key to continue... & pause >nul