Update to get things in place for one final beta followed by a Release Candidate as soon as we can.

1) Added Gnometer as one of the default skins, including two themese (Gnometer and Gnometer Preview)
2) Removed Tranquil skins
3) Added RainBackup in \Addons and to start menu
4) Changes to Rainstaller to use default header .bmp file if the author does not provide one in the .rmskin.
5) Changes to Rainmeter.cpp to handle Gnometer as one of the new default skins
6) Changes to the Rainmeter installation program to allow selection of default skin / theme (Gnometer or Enigma)
This commit is contained in:
jsmorley 2010-05-08 19:51:33 +00:00
parent 875aab4c51
commit c01fb4eb76
3 changed files with 10 additions and 7 deletions

View File

@ -28,8 +28,8 @@ LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
// //
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,2,0,392 FILEVERSION 1,2,0,398
PRODUCTVERSION 1,2,0,392 PRODUCTVERSION 1,2,0,398
FILEFLAGSMASK 0x17L FILEFLAGSMASK 0x17L
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS 0x1L FILEFLAGS 0x1L
@ -45,12 +45,12 @@ BEGIN
BLOCK "040b04b0" BLOCK "040b04b0"
BEGIN BEGIN
VALUE "FileDescription", "Rainmeter - A Customizable Resource Meter" VALUE "FileDescription", "Rainmeter - A Customizable Resource Meter"
VALUE "FileVersion", "1, 2, 0, 392" VALUE "FileVersion", "1, 2, 0, 398"
VALUE "InternalName", "Rainmeter" VALUE "InternalName", "Rainmeter"
VALUE "LegalCopyright", "Copyright (C) 2010 - Rainy" VALUE "LegalCopyright", "Copyright (C) 2010 - Rainy"
VALUE "OriginalFilename", "Rainmeter.exe" VALUE "OriginalFilename", "Rainmeter.exe"
VALUE "ProductName", "Rainmeter" VALUE "ProductName", "Rainmeter"
VALUE "ProductVersion", "1, 2, 0, 392" VALUE "ProductVersion", "1, 2, 0, 398"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"

View File

@ -1114,7 +1114,7 @@ void CRainmeter::CheckSkinVersions()
CopyFiles(strMainSkinsPath + menu[i].name, m_SkinPath); CopyFiles(strMainSkinsPath + menu[i].name, m_SkinPath);
// TODO: Temporary 'fix': If this was Enigma upgrade the themes too // 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 strMainThemes = m_Path + L"Themes";
std::wstring strCurrentThemes = GetSettingsPath(); std::wstring strCurrentThemes = GetSettingsPath();
@ -1138,10 +1138,13 @@ void CRainmeter::CheckSkinVersions()
else else
{ {
std::wstring strMessage = L"A new version of config called \"" + menu[i].name + L"\" is available\n"; 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)) if (IDYES == MessageBox(NULL, strMessage.c_str(), APPNAME, MB_YESNO | MB_ICONQUESTION))
{ {
CopyFiles(strMainSkinsPath + menu[i].name, m_SkinPath); CopyFiles(strMainSkinsPath + menu[i].name, m_SkinPath);
std::wstring strMainThemes = m_Path + L"Themes";
std::wstring strCurrentThemes = GetSettingsPath();
CopyFiles(strMainThemes, strCurrentThemes);
} }
} }

View File

@ -1,2 +1,2 @@
#pragma once #pragma once
const int revision_number = 392; const int revision_number = 398;