Merge pull request #34148 from MoreRobustThanYou/patch-44

Make tgui reload.bat work
This commit is contained in:
Jordan Brown
2018-01-07 17:59:15 -08:00
committed by CitadelStationBot
parent 1f65e222b7
commit 0c606646e3
+4 -5
View File
@@ -1,9 +1,8 @@
@echo off
REM Get the documents folder from the registry.
for /f "tokens=3* delims= " %%a in (
'reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Personal"'
) do (
set documents=%%a %%b
@echo off
for /f "tokens=3*" %%p in ('REG QUERY "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Personal') do (
set DocumentsFolder=%%p
)
REM Copy assets to the BYOND cache
cmd /c copy assets\* "%documents%\BYOND\cache" /y
cmd /c copy assets\* "%DocumentsFolder%\BYOND\cache" /y