mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
FileView: Tweaks
This commit is contained in:
parent
5f03d7b235
commit
f16224793e
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user