Skip to content

Commit

Permalink
0.73.0, Impliment RunCount
Browse files Browse the repository at this point in the history
close #54
updated Everything64.dll
  • Loading branch information
lin-ycv committed Sep 2, 2023
1 parent 52b7c1f commit fbad276
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Community.PowerToys.Run.Plugin.Everything.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@

<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>..\..\..\..\..\$(Platform)\$(Configuration)\modules\launcher\Plugins\Everything\</OutputPath>
<OutputPath>..\..\..\..\..\$(Platform)\$(Configuration)\RunPlugins\Everything\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='Release'">
<OutputPath>..\..\..\..\..\$(Platform)\$(Configuration)\modules\launcher\Plugins\Everything\</OutputPath>
<OutputPath>..\..\..\..\..\$(Platform)\$(Configuration)\RunPlugins\Everything\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>none</DebugType>
Expand Down
1 change: 1 addition & 0 deletions Everything.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ internal IEnumerable<Result> Query(string query, Settings setting)
try
{
process.Start();
_ = Everything_IncRunCountFromFileName(fullPath);
return true;
}
catch (Win32Exception)
Expand Down
Binary file modified Everything64.dll
Binary file not shown.
2 changes: 2 additions & 0 deletions Interop/NativeMethods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ internal enum AssocStr
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)]
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion settings.toml
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit fbad276

Please sign in to comment.