From b65df84ed9b1b7dd39dd1efd35c55000025afbc6 Mon Sep 17 00:00:00 2001 From: ZeldaZach Date: Fri, 17 Jan 2025 21:22:26 -0500 Subject: [PATCH] Fix NSIS template --- cmake/NSIS.template.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/NSIS.template.in b/cmake/NSIS.template.in index 2651dd72c..fbdde0b86 100644 --- a/cmake/NSIS.template.in +++ b/cmake/NSIS.template.in @@ -238,7 +238,7 @@ ${If} $PortableMode = 0 ; Enable Windows User-Mode Dumps ; https://learn.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps - WriteRegStr HKLM "Software\Microsoft\Windows\Windows Error Reporting\LocalDumps\cockatrice.exe" "DumpFolder" "%LOCALAPPDATA%\CrashDumps\Cockatrice" + WriteRegExpandStr HKLM "Software\Microsoft\Windows\Windows Error Reporting\LocalDumps\cockatrice.exe" "DumpFolder" "%LOCALAPPDATA%\CrashDumps\Cockatrice" WriteRegDWORD HKLM "Software\Microsoft\Windows\Windows Error Reporting\LocalDumps\cockatrice.exe" "DumpCount" "5" WriteRegDWORD HKLM "Software\Microsoft\Windows\Windows Error Reporting\LocalDumps\cockatrice.exe" "DumpType" "2"