- Rainstaller now preserves statistics when applying theme

- Build.bat now checks "Program Files (x86)" if files don't exist in "Program Files"
This commit is contained in:
Birunthan Mohanathas 2011-04-07 13:47:26 +00:00
parent 73f80e331f
commit b92d8276d3
4 changed files with 3 additions and 7 deletions

View File

@ -311,7 +311,6 @@ xcopy /Q /S /Y ..\Install\Default.ini ..\testbench\x32\release\
</ItemGroup>
<ItemGroup>
<None Include="Rainmeter.ico" />
<None Include="..\Help\History.htm" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Library\Library.vcxproj">

View File

@ -33,6 +33,5 @@
<None Include="Rainmeter.ico">
<Filter>Resource Files</Filter>
</None>
<None Include="..\Help\History.htm" />
</ItemGroup>
</Project>

View File

@ -22,8 +22,6 @@
#include <windows.h>
#include <vector>
typedef BOOL (WINAPI *FPSETDLLDIRECTORYW)(LPCWSTR lpPathName);
enum OSPLATFORM
{
OSPLATFORM_UNKNOWN = 0,

View File

@ -835,12 +835,12 @@ LRESULT CALLBACK CTrayWindow::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
case LM_GETREVID:
if (lParam != NULL)
{
char* Buffer=(char*)lParam;
if (wParam==0)
char* Buffer = (char*)lParam;
if (wParam == 0)
{
sprintf(Buffer, "Rainmeter.dll: %s", APPVERSION);
}
else if (wParam==1)
else if (wParam == 1)
{
sprintf(Buffer, "Rainmeter.dll: %s %s, Rainy", APPVERSION, __DATE__);
}