-
Notifications
You must be signed in to change notification settings - Fork 2
/
Installer.cmd
57 lines (49 loc) · 1.47 KB
/
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
53
54
55
56
57
@echo off
echo.
echo.
echo Starting RXT installation...
echo.
for /d %%i in ("%localappdata%\Roblox\Versions\*") do (
if exist "%%i\RobloxPlayerBeta.exe" (
set folder=%%i
goto :NextStep
)
)
for /d %%i in ("C:\Program Files (x86)\Roblox\Versions\*") do (
if exist "%%i\RobloxPlayerBeta.exe" (
set folder=%%i
goto :NextStep
)
)
for /d %%i in ("C:\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/Flxne/RXT/main/ClientAppSettings.json', '%folder%\ClientSettings\ClientAppSettings.json')}"
if %errorlevel% EQU 0 (
echo ClientAppSettings.json downloaded successfully!
echo.
echo SUCCESS: RXT installation completed!
) else (
echo Failed to download ClientAppSettings.json. Please report this issue in DM at @fl1n3 on Telegram.
echo.
echo ERROR: RXT installation failed!
)
echo.
echo NOTE:
echo.
echo 1. Run this script every time there is a Roblox update!
echo.
echo 2. If you need help, contact @fl1n3 on Telegram!
echo.
echo 3. To uninstall RXT at any time, run Uninstaller.cmd!
echo.
echo.
echo Press any key to continue... & pause >nul