diff --git a/Application/Application.rc b/Application/Application.rc index bb011049..e64c9649 100644 --- a/Application/Application.rc +++ b/Application/Application.rc @@ -28,8 +28,8 @@ LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT // VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,2,0,392 - PRODUCTVERSION 1,2,0,392 + FILEVERSION 1,2,0,398 + PRODUCTVERSION 1,2,0,398 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -45,12 +45,12 @@ BEGIN BLOCK "040b04b0" BEGIN VALUE "FileDescription", "Rainmeter - A Customizable Resource Meter" - VALUE "FileVersion", "1, 2, 0, 392" + VALUE "FileVersion", "1, 2, 0, 398" VALUE "InternalName", "Rainmeter" VALUE "LegalCopyright", "Copyright (C) 2010 - Rainy" VALUE "OriginalFilename", "Rainmeter.exe" VALUE "ProductName", "Rainmeter" - VALUE "ProductVersion", "1, 2, 0, 392" + VALUE "ProductVersion", "1, 2, 0, 398" END END BLOCK "VarFileInfo" diff --git a/Library/Rainmeter.cpp b/Library/Rainmeter.cpp index 0063066e..7cede15b 100644 --- a/Library/Rainmeter.cpp +++ b/Library/Rainmeter.cpp @@ -1114,7 +1114,7 @@ void CRainmeter::CheckSkinVersions() CopyFiles(strMainSkinsPath + menu[i].name, m_SkinPath); // TODO: Temporary 'fix': If this was Enigma upgrade the themes too - if (menu[i].name == L"Enigma") + if (menu[i].name == L"Enigma" || L"Gnometer") { std::wstring strMainThemes = m_Path + L"Themes"; std::wstring strCurrentThemes = GetSettingsPath(); @@ -1138,10 +1138,13 @@ void CRainmeter::CheckSkinVersions() else { std::wstring strMessage = L"A new version of config called \"" + menu[i].name + L"\" is available\n"; - strMessage += L"Do you want to add it to your skin library?"; + strMessage += L"Do you want to add it to your skin and themes libraries?"; if (IDYES == MessageBox(NULL, strMessage.c_str(), APPNAME, MB_YESNO | MB_ICONQUESTION)) { CopyFiles(strMainSkinsPath + menu[i].name, m_SkinPath); + std::wstring strMainThemes = m_Path + L"Themes"; + std::wstring strCurrentThemes = GetSettingsPath(); + CopyFiles(strMainThemes, strCurrentThemes); } } diff --git a/revision-number.h b/revision-number.h index 00a14c46..37d6604e 100644 --- a/revision-number.h +++ b/revision-number.h @@ -1,2 +1,2 @@ #pragma once -const int revision_number = 392; \ No newline at end of file +const int revision_number = 398; \ No newline at end of file