The themes are updated now with Enigma.

This commit is contained in:
Kimmo Pekkola 2009-10-17 07:37:09 +00:00
parent 2c6c43c652
commit d5297bb0e7

View File

@ -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
{