fix escape \

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-06-05 11:36:15 +08:00
parent e5c4826c75
commit 87b1e97351

View File

@ -974,7 +974,7 @@ fn get_after_install(exe: &str) -> String {
reg add HKEY_CLASSES_ROOT\\.{ext}\\shell\\open /f
reg add HKEY_CLASSES_ROOT\\.{ext}\\shell\\open\\command /f
reg add HKEY_CLASSES_ROOT\\.{ext}\\shell\\open\\command /f /ve /t REG_SZ /d \"\\\"{exe}\\\" --play \\\"%%1\\\"\"
reg delete HKEY_CURRENT_USER\Software\Classes\\{exe} /f
reg delete HKEY_CURRENT_USER\\Software\\Classes\\{exe} /f
reg add HKEY_CLASSES_ROOT\\{ext} /f
reg add HKEY_CLASSES_ROOT\\{ext} /f /v \"URL Protocol\" /t REG_SZ /d \"\"
reg add HKEY_CLASSES_ROOT\\{ext}\\shell /f