Skip to content
This repository was archived by the owner on Jan 4, 2025. It is now read-only.

Commit bd8514d

Browse files
committed
修复卸载不删除缓存的问题
1 parent 2a8f40d commit bd8514d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TFMain/dllmain.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -549,14 +549,14 @@ HRESULT MainDLL::Uninstall() try
549549
);
550550
#ifdef _WIN64
551551
SHDeleteKeyW(
552-
HKEY_CURRENT_USER, L"SOFTWARE\\TranslucentFlyouts_Internals"
552+
HKEY_LOCAL_MACHINE, L"SOFTWARE\\TranslucentFlyouts_Internals"
553553
);
554554
SHDeleteKeyW(
555555
HKEY_CURRENT_USER, L"SOFTWARE\\TranslucentFlyouts_Internals"
556556
);
557557
#else
558558
SHDeleteKeyW(
559-
HKEY_CURRENT_USER, L"SOFTWARE\\TranslucentFlyouts_Internals(x86)"
559+
HKEY_LOCAL_MACHINE, L"SOFTWARE\\TranslucentFlyouts_Internals(x86)"
560560
);
561561
SHDeleteKeyW(
562562
HKEY_CURRENT_USER, L"SOFTWARE\\TranslucentFlyouts_Internals(x86)"

0 commit comments

Comments
 (0)