mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Minor update to illustro and Rainmeter.cpp to properly detect install the illustro theme.
This commit is contained in:
parent
6ef688f387
commit
bddef71808
@ -28,8 +28,8 @@ LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
|
|||||||
//
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 1,4,0,574
|
FILEVERSION 1,4,0,588
|
||||||
PRODUCTVERSION 1,4,0,574
|
PRODUCTVERSION 1,4,0,588
|
||||||
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, 4, 0, 574"
|
VALUE "FileVersion", "1, 4, 0, 588"
|
||||||
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, 4, 0, 574"
|
VALUE "ProductVersion", "1, 4, 0, 588"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
|
@ -1688,8 +1688,8 @@ void CRainmeter::CheckSkinVersions()
|
|||||||
// Upgrade the skin
|
// Upgrade the skin
|
||||||
CSystem::CopyFiles(strMainSkinsPath + menu[i].name, m_SkinPath);
|
CSystem::CopyFiles(strMainSkinsPath + menu[i].name, m_SkinPath);
|
||||||
|
|
||||||
// TODO: Temporary 'fix': If skin was Illustro upgrade the themes too
|
// TODO: Temporary 'fix': If skin was illustro upgrade the themes too
|
||||||
if (menu[i].name == L"Illustro")
|
if (menu[i].name == L"illustro")
|
||||||
{
|
{
|
||||||
std::wstring strMainThemes = m_Path + L"Themes";
|
std::wstring strMainThemes = m_Path + L"Themes";
|
||||||
std::wstring strCurrentThemes = GetSettingsPath();
|
std::wstring strCurrentThemes = GetSettingsPath();
|
||||||
@ -1770,7 +1770,7 @@ int CRainmeter::CompareVersions(std::wstring strA, std::wstring strB)
|
|||||||
** CreateDefaultConfigFile
|
** CreateDefaultConfigFile
|
||||||
**
|
**
|
||||||
** Creates the default Rainmeter.ini file.
|
** Creates the default Rainmeter.ini file.
|
||||||
** Illustro\System is enabled.
|
** illustro\System is enabled.
|
||||||
**
|
**
|
||||||
*/
|
*/
|
||||||
void CRainmeter::CreateDefaultConfigFile(std::wstring strFile)
|
void CRainmeter::CreateDefaultConfigFile(std::wstring strFile)
|
||||||
@ -1789,7 +1789,7 @@ void CRainmeter::CreateDefaultConfigFile(std::wstring strFile)
|
|||||||
std::ofstream out(strFile.c_str(), std::ios::out);
|
std::ofstream out(strFile.c_str(), std::ios::out);
|
||||||
if (out)
|
if (out)
|
||||||
{
|
{
|
||||||
out << std::string("[Rainmeter]\n\n[Illustro\\System]\nActive=1\n");
|
out << std::string("[Rainmeter]\n\n[illustro\\System]\nActive=1\n");
|
||||||
out.close();
|
out.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
const int revision_number = 574;
|
const int revision_number = 588;
|
||||||
const bool revision_beta = true;
|
const bool revision_beta = true;
|
Loading…
x
Reference in New Issue
Block a user