Fix a bug of Install.cmd

This commit is contained in:
Jack-Myth 2020-03-09 23:21:08 +08:00
parent b135b888d3
commit 06695a4c28
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ if not exist "..\skins" (
))
REM Copy SteamUI's file to the original place.
xcopy /e /y ".\steamui" "..\..\steamui"
for %%i in ("%cd%") do set SkinName=%%~ni
for %%i in ("%cd%") do set SkinName=%%~nxi
REM SteamV4 seems to be deprecated, but just add it.
reg add HKCU\Software\Valve\Steam /v SkinV4 /t REG_SZ /d "%SkinName%" /f
reg add HKCU\Software\Valve\Steam /v SkinV5 /t REG_SZ /d "%SkinName%" /f