Skip to content

Commit e909fb3

Browse files
authored
Merge pull request #891 from eksime/cleanup-gapotchenko-processutil
Remove ProcessUtil and bump Gapotchenko.FX version
2 parents a423b32 + 0c74134 commit e909fb3

File tree

3 files changed

+2
-160
lines changed

3 files changed

+2
-160
lines changed

Blish HUD/Blish HUD.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
<PackageReference Include="DynamicLanguageRuntime" Version="1.3.2" PrivateAssets="all" />
239239
<PackageReference Include="EntryPoint" Version="1.3.0" PrivateAssets="all" />
240240
<PackageReference Include="Flurl.Http" Version="2.4.2" PrivateAssets="all" />
241-
<PackageReference Include="Gapotchenko.FX.Diagnostics.Process" Version="2021.1.5" PrivateAssets="all" />
241+
<PackageReference Include="Gapotchenko.FX.Diagnostics.Process" Version="2022.2.7" PrivateAssets="all" />
242242
<PackageReference Include="Gw2Sharp" Version="1.7.4" />
243243
<PackageReference Include="Humanizer.Core.de" Version="2.6.2" PrivateAssets="all" />
244244
<PackageReference Include="Humanizer.Core.es" Version="2.6.2" PrivateAssets="all" />

Blish HUD/GameServices/GameIntegration/Gw2InstanceIntegration.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ private void HandleProcessUpdate(Process newProcess) {
219219
}
220220

221221
try {
222-
this.CommandLine = newProcess.GetCommandLine();
222+
this.CommandLine = newProcess.ReadArguments();
223223
} catch (Win32Exception e) {
224224
this.CommandLine = string.Empty;
225225
Logger.Warn(e, "A Win32Exception was encountered while trying to retrieve the process command line.");

Blish HUD/_Utils/ProcessUtil.cs

-158
This file was deleted.

0 commit comments

Comments
 (0)