From 039d4edd47b20d96ca1f39eb2919c0dbf11e48df Mon Sep 17 00:00:00 2001 From: Eren Okka Date: Sat, 13 Jun 2020 16:56:38 +0300 Subject: [PATCH] Setup: Fix parsing of mutex name Installer was unable to find and close the running instance, which broke auto-updates. The bug was introduced in e48765485dc3872be6a11ace60885c63af3cc49d. --- setup/Taiga.nsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/Taiga.nsi b/setup/Taiga.nsi index 0ff0689c1..d789ba811 100644 --- a/setup/Taiga.nsi +++ b/setup/Taiga.nsi @@ -6,7 +6,7 @@ ; Configuration !define CONFIG_PATH "..\src\taiga\config.h" -!searchparse /file "${CONFIG_PATH}" `#define TAIGA_APP_MUTEX ` PRODUCT_MUTEX +!searchparse /file "${CONFIG_PATH}" `#define TAIGA_APP_MUTEX L"` PRODUCT_MUTEX `"` !searchparse /file "${CONFIG_PATH}" `#define TAIGA_VERSION_MAJOR ` VERSION_MAJOR !searchparse /file "${CONFIG_PATH}" `#define TAIGA_VERSION_MINOR ` VERSION_MINOR !searchparse /file "${CONFIG_PATH}" `#define TAIGA_VERSION_PATCH ` VERSION_PATCH