diff --git a/src/Squirrel/UpdateManager.ApplyReleases.cs b/src/Squirrel/UpdateManager.ApplyReleases.cs index 3520589d2..6af408684 100644 --- a/src/Squirrel/UpdateManager.ApplyReleases.cs +++ b/src/Squirrel/UpdateManager.ApplyReleases.cs @@ -122,17 +122,6 @@ await squirrelAwareApps.ForEachAsync(async exe => { } else { allApps.ForEach(x => RemoveShortcutsForExecutable(x.Name, ShortcutLocation.StartMenu | ShortcutLocation.Desktop)); } - - // NB: Some people attempt to uninstall apps while - // they're still running. I cannot even. - var toKill = allApps - .SelectMany(x => Process.GetProcessesByName(x.Name.Replace(".exe", ""))) - .ToList(); - - if (toKill.Count > 0) { - toKill.ForEach(x => x.Kill()); - Thread.Sleep(750); - } } catch (Exception ex) { this.Log().WarnException("Failed to run pre-uninstall hooks, uninstalling anyways", ex); }