From 06695a4c28c0c040f6e97d206e41a1d6e5dc6b8e Mon Sep 17 00:00:00 2001 From: Jack-Myth Date: Mon, 9 Mar 2020 23:21:08 +0800 Subject: [PATCH] Fix a bug of Install.cmd --- Install.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Install.cmd b/Install.cmd index 1f341a3..9d52f47 100644 --- a/Install.cmd +++ b/Install.cmd @@ -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