From d5297bb0e71692a2ba1095b18fd88c6db7886062 Mon Sep 17 00:00:00 2001 From: Kimmo Pekkola Date: Sat, 17 Oct 2009 07:37:09 +0000 Subject: [PATCH] The themes are updated now with Enigma. --- Library/Rainmeter.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Library/Rainmeter.cpp b/Library/Rainmeter.cpp index 2680e18d..b4c2e69f 100644 --- a/Library/Rainmeter.cpp +++ b/Library/Rainmeter.cpp @@ -1016,6 +1016,15 @@ void CRainmeter::CheckSkinVersions() { // Upgrade the skin CopyFiles(strMainSkinsPath + menu[i].name, m_SkinPath); + + // TODO: Temporary 'fix': If this was Enigma upgrade the themes too + if (menu[i].name == L"Enigma") + { + std::wstring strMainThemes = m_Path + L"Themes"; + std::wstring strCurrentThemes = GetSettingsPath(); + CopyFiles(strMainThemes, strCurrentThemes); + } + // End of temporary 'fix' } else {