FileView: Tweaks

This commit is contained in:
Brian Ferguson 2013-03-26 15:14:37 -06:00
parent 5f03d7b235
commit f16224793e
2 changed files with 3 additions and 6 deletions

View File

@ -498,19 +498,16 @@ PLUGIN_EXPORT void ExecuteBang(void* data, LPCWSTR args)
auto runFile = [&](std::wstring& filename, std::wstring& dir)
{
CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE);
std::wstring file = dir + filename;
SHELLEXECUTEINFO si = {sizeof(SHELLEXECUTEINFO)};
si.lpVerb = L"open";
si.lpVerb = nullptr;
si.lpFile = file.c_str();
si.nShow = SW_SHOWNORMAL;
si.lpDirectory = dir.c_str();
si.fMask = SEE_MASK_FLAG_NO_UI | SEE_MASK_ASYNCOK;
ShellExecuteEx(&si);
CoUninitialize();
};
if (parent->ownerChild == child)

View File

@ -7,7 +7,7 @@
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,0,1,0
FILEVERSION 2,0,2,0
PRODUCTVERSION PRODUCTVER
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
@ -23,7 +23,7 @@ VS_VERSION_INFO VERSIONINFO
{
BLOCK "040904E4"
{
VALUE "FileVersion", "2.0.1.0"
VALUE "FileVersion", "2.0.2.0"
VALUE "LegalCopyright", "© 2012 - Brian Ferguson"
VALUE "ProductName", "Rainmeter"
#ifdef _WIN64