Merge pull request #4702 from Citadel-Station-13/upstream-merge-34148
[MIRROR] Make tgui reload.bat work
This commit is contained in:
+4
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user