mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
New build in variables: #PROGRAMPATH#, #SETTINGSPATH#, #SKINSPATH#, #PLUGINSPATH#, #ADDONSPATH# and #CURRENTPATH# (this is the path where the ini file that is currently read is located).
If there is a file called Default.ini in the program folder it will be used as the default settings file for new users. The location of the settings file (rainmeter.ini) can be defined as a command line argument.
This commit is contained in:
@ -1157,7 +1157,7 @@ void CMeterWindow::ReadConfig()
|
||||
m_SavePosition = true; // Default value
|
||||
|
||||
CConfigParser parser;
|
||||
parser.Initialize(iniFile.c_str());
|
||||
parser.Initialize(iniFile.c_str(), m_Rainmeter);
|
||||
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
@ -1285,7 +1285,7 @@ void CMeterWindow::ReadSkin()
|
||||
iniFile += L"\\";
|
||||
iniFile += m_SkinIniFile;
|
||||
|
||||
m_Parser.Initialize(iniFile.c_str());
|
||||
m_Parser.Initialize(iniFile.c_str(), m_Rainmeter);
|
||||
|
||||
// Global settings
|
||||
|
||||
|
Reference in New Issue
Block a user