From c9bbf8d3ee9bb268e1ad5cee6b067a25f52dfd89 Mon Sep 17 00:00:00 2001 From: Lauriethefish Date: Mon, 19 Aug 2024 18:47:18 +0100 Subject: [PATCH] Catch InvalidOperationException too (Whoops, this is also required to fix #172) --- QuestPatcher.Core/ProcessUtil.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QuestPatcher.Core/ProcessUtil.cs b/QuestPatcher.Core/ProcessUtil.cs index e29e95e..40259f1 100644 --- a/QuestPatcher.Core/ProcessUtil.cs +++ b/QuestPatcher.Core/ProcessUtil.cs @@ -99,7 +99,7 @@ public async Task InvokeAndCaptureOutput(string fileName, string { fullPath = process.MainModule?.FileName; } - catch (Win32Exception ex) + catch (Exception ex) { Log.Warning(ex, "Failed to get full path to executing ADB client. Is the AntiVirus preventing this?"); }