Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Commit

Permalink
Added MotioninJoy driver removal to Clean Wipe Utility
Browse files Browse the repository at this point in the history
  • Loading branch information
nefarius committed Oct 2, 2015
1 parent 64bd780 commit 22e5170
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ScpCleanWipe/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ public partial class MainWindow : Window
public MainWindow()
{
InitializeComponent();

AppDomain.CurrentDomain.UnhandledException += (sender, args) =>
{
MessageBox.Show(((Exception) args.ExceptionObject).Message, "Exception",
MessageBoxButton.OK, MessageBoxImage.Error);
};
}

#region Windows Service Helpers
Expand Down Expand Up @@ -124,6 +130,12 @@ await Task.Run(() =>
DrvStore.DeletePackage(entry, true);
}
foreach (var entry in storeEntries.Where(dse => dse.DriverPkgProvider.Contains("MotioninJoy")))
{
Log.InfoFormat("Removing package from driver store: {0} by {1}", entry.DriverPublishedName, entry.DriverPkgProvider);
DrvStore.DeletePackage(entry, true);
}
#endregion
#region Driver uninstallation
Expand Down

0 comments on commit 22e5170

Please sign in to comment.