diff --git a/.gitignore b/.gitignore
index 6bd3a88..c279e3d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -260,3 +260,4 @@ paket-files/
__pycache__/
*.pyc
/BetterJoyForCemu/FodyWeavers.xml
+/BetterJoyForCemu/FodyWeavers.xsd
diff --git a/BetterJoyForCemu/App.config b/BetterJoyForCemu/App.config
index 455b8f5..4c5405f 100644
--- a/BetterJoyForCemu/App.config
+++ b/BetterJoyForCemu/App.config
@@ -1,49 +1,44 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/BetterJoyForCemu/BetterJoyForCemu.csproj b/BetterJoyForCemu/BetterJoyForCemu.csproj
index d1aa73d..507489b 100644
--- a/BetterJoyForCemu/BetterJoyForCemu.csproj
+++ b/BetterJoyForCemu/BetterJoyForCemu.csproj
@@ -1,5 +1,7 @@
+
+
Debug
@@ -13,6 +15,21 @@
true
+ publish\
+ true
+ Disk
+ false
+ Foreground
+ 7
+ Days
+ false
+ false
+ true
+ 0
+ 1.0.0.%2a
+ false
+ false
+ true
AnyCPU
@@ -81,13 +98,15 @@
Icons\betterjoyforcemu_icon.ico
-
- ..\packages\Costura.Fody.1.6.2\lib\dotnet\Costura.dll
- False
+
+ ..\packages\Costura.Fody.3.3.1\lib\net40\Costura.dll
..\packages\Crc32.NET.1.2.0\lib\net20\Crc32.NET.dll
+
+ ..\packages\Fielder.Fody.1.2.3\lib\net452\Fielder.dll
+
..\packages\Nefarius.ViGEmClient.1.15.16\lib\net452\Nefarius.ViGEmClient.dll
@@ -97,6 +116,7 @@
+
@@ -150,14 +170,26 @@
Resources.Designer.cs
+
+
+ False
+ Microsoft .NET Framework 4.6.1 %28x86 and x64%29
+ true
+
+
+ False
+ .NET Framework 3.5 SP1
+ false
+
+
-
+
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
+
+
+
-
\ No newline at end of file
diff --git a/BetterJoyForCemu/Program.cs b/BetterJoyForCemu/Program.cs
index 3f31f05..2f5fab0 100644
--- a/BetterJoyForCemu/Program.cs
+++ b/BetterJoyForCemu/Program.cs
@@ -409,6 +409,12 @@ namespace BetterJoyForCemu {
form.console.Text += "Unable to remove program from whitelist.\r\n";
}
+ if (Boolean.Parse(ConfigurationManager.AppSettings["PurgeAffectedDevices"])) {
+ try {
+ HttpWebResponse r1 = (HttpWebResponse)WebRequest.Create(@"http://localhost:26762/api/v1/hidguardian/affected/purge/").GetResponse();
+ } catch { }
+ }
+
server.Stop();
timer.Stop();
mgr.OnApplicationQuit();
diff --git a/BetterJoyForCemu/packages.config b/BetterJoyForCemu/packages.config
index 448efa5..42268f5 100644
--- a/BetterJoyForCemu/packages.config
+++ b/BetterJoyForCemu/packages.config
@@ -1,7 +1,8 @@
-
+
-
+
+
\ No newline at end of file