This commit is to get the repository set up to add Rainstaller.exe to the Rainmeter build and installation package
- Rainstaller is installed to the Rainmeter program folder under \Addons\Rainstaller
Rainstaller.exe
Rainstaller.chm
- A file association is created for the extension .rmskins to allow double clicking a .rmskins file to open Rainstaller.exe, unpack the .rmskins archive (it is a renamed .zip file) and install the Skin(s) / Themes included.
- Rainstaller.lnk (Rainstaller.exe) and Rainstaller Help.lnk (Rainstaller Help.chm) are added to the Windows Start Menu under Rainmeter
- Code added to the "uninstall" routines in Rainmeter Install Script.nsi to remove the file association for Rainstaller.exe / .rmskins on uninstall of Rainmeter and to remove the links from the Windows Start Menu.
*****************
Code Changes:
- New version of Build.py for compiling all source code
- New version of Rainmeter Install Script.nsi for creating the Rainmeter installation package
- Source code and build script for Rainstaller in \Addons\Rainstaller\Source
Rainmeter.nsi
Rainmeter.chm
\include (folder has some addon scripts and plugins for NSIS)
Note: As of this build, everything works EXCEPT that Rainstaller can only be used by double-clicking a .rmskins file. The ability to drag and drop a .rmskins file on Rainstaller.exe or to run Rainstaller.exe and "browse" to open a .rmskins file is coming in the next day or two.
[MeterOne]
Meter=String
MeasureName=MeasureOne
MeasureName2=MeasureTwo
Text=%1#CRLF%2
[MeterTwo]
Meter=String
Text=This is a long string#CRLF#On two lines
Substitute="<br/>:"#CRLF#"
- Fixed a problem that StyleTemplate affects to Meters which have no relation.
- Added a workaround to avoid the "IniFileMapping" function when reading skins.
- Some small code cosmetics.
- Added !RainmeterSetTransparency, !RainmeterShowFade, !RainmeterHideFade, !RainmeterToggleFade.
- Added the function to log the installed font families to the log file when Debug=1 is set.
- Added the workaround for issue 145. The wrong drawing position was fixed when AntiAlias=0 is set.
1) New feature of Meter=String
StringCase= [NONE | LOWER | UPPER | PROPER]
2) Changes to SetVariable to allow mathematical formulas and functions to be used in setting a variable.
For instance:
[MeasureCPU]
Measure=CPU
[MeasureCPU1]
Measure=CPU
Processor=1
[MeasureCPU2]
Measure=CPU
Processor=2
MeasureCPU returns the average of the CPU usage across all core/processors. This is same as Processor=0.
MeasureCPU1/2 returns the CPU usage of each core/processor.
-----
- Fixed the problem that the correct value is not returned if the Interface=0 in NetIn/NetOut/NetTotal measure. The cause of this problem is because the value of all filter devices is summed in Vista or newer.
-----
- Added the option (Debug) for debug logging. This must be put under [Rainmeter]-section in Rainmeter.ini.
This option specifies whether extra debugging log from Rainmeter.dll is output to Rainmeter.log.
[Rainmeter]
Debug=1
Default is 0.
-----
- Application: Fixed a wrong return value type from MainWndProc.