diff --git a/Community.PowerToys.Run.Plugin.Everything.csproj b/Community.PowerToys.Run.Plugin.Everything.csproj index f62c2f7..bf66f01 100644 --- a/Community.PowerToys.Run.Plugin.Everything.csproj +++ b/Community.PowerToys.Run.Plugin.Everything.csproj @@ -23,14 +23,14 @@ true - ..\..\..\..\..\$(Platform)\$(Configuration)\modules\launcher\Plugins\Everything\ + ..\..\..\..\..\$(Platform)\$(Configuration)\RunPlugins\Everything\ DEBUG;TRACE full false - ..\..\..\..\..\$(Platform)\$(Configuration)\modules\launcher\Plugins\Everything\ + ..\..\..\..\..\$(Platform)\$(Configuration)\RunPlugins\Everything\ TRACE true none diff --git a/Everything.cs b/Everything.cs index 519f549..33bd63e 100644 --- a/Everything.cs +++ b/Everything.cs @@ -83,6 +83,7 @@ namespace Community.PowerToys.Run.Plugin.Everything try { process.Start(); + _ = Everything_IncRunCountFromFileName(fullPath); return true; } catch (Win32Exception) diff --git a/Everything64.dll b/Everything64.dll index c2646ad..f34745a 100644 Binary files a/Everything64.dll and b/Everything64.dll differ diff --git a/Interop/NativeMethods.cs b/Interop/NativeMethods.cs index ef9f8f6..8117606 100644 --- a/Interop/NativeMethods.cs +++ b/Interop/NativeMethods.cs @@ -112,6 +112,8 @@ namespace Community.PowerToys.Run.Plugin.Everything.Interop internal static extern uint Everything_GetNumResults(); [DllImport(dllName, CharSet = CharSet.Unicode)] internal static extern void Everything_GetResultFullPathName(uint nIndex, StringBuilder lpString, uint nMaxCount); + [DllImport(dllName, CharSet = CharSet.Unicode)] + public static extern uint Everything_IncRunCountFromFileName(string lpFileName); [DllImport(dllName)] internal static extern bool Everything_IsFolderResult(uint index); [DllImport(dllName)] diff --git a/README.md b/README.md index ecc3a1d..3438443 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Dev instructions are in the wiki. #### Requirements * [PowerToys](https://learn.microsoft.com/en-us/windows/powertoys/) -* [Everything]([https://www.voidtools.com/](https://github.com/lin-ycv/EverythingPowerToys/releases)) (non-lite version) needs to be installed separately and **running**. +* [Everything](https://www.voidtools.com/) (non-lite version) needs to be installed separately and **running**. * *if you are on 1.5 alpha, you need to [Disable 1.5a Instance](http://www.voidtools.com/forum/viewtopic.php?f=12&t=9799#instance)* diff --git a/plugin.json b/plugin.json index a90c11c..a622640 100644 --- a/plugin.json +++ b/plugin.json @@ -4,7 +4,7 @@ "IsGlobal": true, "Name": "Everything", "Author": "Yu Chieh (Victor) Lin", - "Version": "0.72.0", + "Version": "0.73.0", "Language": "csharp", "Website": "https://github.com/Lin-ycv/EverythingPowerToys", "ExecuteFileName": "Community.PowerToys.Run.Plugin.Everything.dll", diff --git a/settings.toml b/settings.toml index 39fc8ba..86297b0 100644 --- a/settings.toml +++ b/settings.toml @@ -1,5 +1,5 @@ # This is the settings file to override the behaviour for "Everything for PowerToys" -# to override a setting, uncomment that line by uncommenting and changing the value +# to override a setting, uncomment that line and change the value # ie: "# max = 20" -> "max = 10" # Restart of powertoys is needed if values are changed