Merge pull request #340 from 123233513/main

%RetString% 增加引号,解决QQ目录包含空格的问题
This commit is contained in:
手瓜一十雪 2024-09-05 13:56:58 +08:00 committed by GitHub
commit c90cfb99bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,8 @@ for /f "tokens=2*" %%a in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\M
)
:napcat_boot
for %%a in (%RetString%) do (
:: %RetString% 增加引号解决QQ目录包含空格的问题比如安装在C:\Program Files\Tencent\QQNT
for %%a in ("%RetString%") do (
set "pathWithoutUninstall=%%~dpa"
)