diff --git a/WindowsRepair/WinRepair.sln b/WindowsRepair/WinRepair.sln
new file mode 100644
index 0000000..4186bf6
--- /dev/null
+++ b/WindowsRepair/WinRepair.sln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.21005.1
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WinRepair", "WinRepair\WinRepair.csproj", "{B1DDA709-0EC8-43F5-AE94-7EBFD1CAAE5D}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {B1DDA709-0EC8-43F5-AE94-7EBFD1CAAE5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B1DDA709-0EC8-43F5-AE94-7EBFD1CAAE5D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B1DDA709-0EC8-43F5-AE94-7EBFD1CAAE5D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B1DDA709-0EC8-43F5-AE94-7EBFD1CAAE5D}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/WindowsRepair/WinRepair.sln.DotSettings.user b/WindowsRepair/WinRepair.sln.DotSettings.user
new file mode 100644
index 0000000..03ebf68
--- /dev/null
+++ b/WindowsRepair/WinRepair.sln.DotSettings.user
@@ -0,0 +1,2 @@
+
+ False
\ No newline at end of file
diff --git a/WindowsRepair/WinRepair.v12.suo b/WindowsRepair/WinRepair.v12.suo
new file mode 100644
index 0000000..3c3d50f
Binary files /dev/null and b/WindowsRepair/WinRepair.v12.suo differ
diff --git a/WindowsRepair/WinRepair/App.config b/WindowsRepair/WinRepair/App.config
new file mode 100644
index 0000000..8e15646
--- /dev/null
+++ b/WindowsRepair/WinRepair/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WindowsRepair/WinRepair/Program.cs b/WindowsRepair/WinRepair/Program.cs
new file mode 100644
index 0000000..d28c40c
--- /dev/null
+++ b/WindowsRepair/WinRepair/Program.cs
@@ -0,0 +1,113 @@
+using System;
+using System.IO;
+using System.Text.RegularExpressions;
+
+namespace WinRepair
+{
+ class Program
+ {
+ static void Main(string[] args)
+ {
+
+ Console.WriteLine("WinRepair will delete all nonessential BetterDiscord/Discord files that might cause problems");
+ Console.WriteLine("The following files/directories will be deleted");
+
+ String appdata = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
+
+
+ String discordDir = appdata + "\\discord";
+ String bdDir = appdata + "\\betterdiscord";
+
+ Console.WriteLine(Environment.SpecialFolder.ApplicationData);
+
+ if (Directory.Exists(bdDir))
+ {
+ foreach (string directory in Directory.GetDirectories(bdDir))
+ {
+ Console.WriteLine(directory);
+ }
+
+ foreach (string file in Directory.GetFiles(bdDir))
+ {
+ Console.WriteLine(file);
+ }
+ }
+
+ if (Directory.Exists(discordDir))
+ {
+ if (Directory.Exists(discordDir + "\\cache"))
+ {
+ Console.WriteLine(discordDir + "\\cache and all it's contents");
+ }
+ }
+
+ if (Directory.Exists(discordDir + "\\Local Storage"))
+ {
+ if (File.Exists(discordDir + "\\Local Storage\\https_discordapp.com_0.localstorage"))
+ {
+ Console.WriteLine(discordDir + "\\Local Storage\\https_discordapp.com_0.localstorage");
+ }
+ }
+
+ Console.WriteLine("Is this ok? Y/N");
+
+ String response = Console.ReadLine().ToLower();
+
+ if (Regex.IsMatch(response, "(yes|y)"))
+ {
+
+ if (Directory.Exists(bdDir))
+ {
+ DeleteAndLogFiles(bdDir);
+ }
+
+ if (Directory.Exists(bdDir))
+ {
+ DeleteAndLogDirectories(bdDir);
+ }
+
+ if (Directory.Exists(discordDir + "\\cache"))
+ {
+ DeleteAndLogFiles(discordDir + "\\cache");
+ }
+
+ if (File.Exists(discordDir + "\\Local Storage\\https_discordapp.com_0.localstorage"))
+ {
+ Console.WriteLine("Deleting: " + discordDir + "\\Local Storage\\https_discordapp.com_0.localstorage");
+ File.Delete(discordDir + "\\Local Storage\\https_discordapp.com_0.localstorage");
+ }
+
+ Console.WriteLine("All done");
+ Console.WriteLine("Press any key to exit...");
+ Console.ReadKey();
+ }
+ else
+ {
+ Console.WriteLine("Aborted");
+ Console.WriteLine("Press any key to exit...");
+ Console.ReadKey();
+ }
+ }
+
+ private static void DeleteAndLogFiles(String directory)
+ {
+ foreach (String file in Directory.GetFiles(directory))
+ {
+ Console.WriteLine("Deleting: " + file);
+ File.Delete(file);
+ }
+
+ foreach (String dir in Directory.GetDirectories(directory))
+ {
+ DeleteAndLogFiles(directory);
+ }
+ }
+
+ private static void DeleteAndLogDirectories(String directory)
+ {
+ Console.WriteLine("Cleaning: " + directory);
+
+ Directory.Delete(directory, true);
+ }
+ }
+}
diff --git a/WindowsRepair/WinRepair/Properties/AssemblyInfo.cs b/WindowsRepair/WinRepair/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..c5c4158
--- /dev/null
+++ b/WindowsRepair/WinRepair/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("WinRepair")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("WinRepair")]
+[assembly: AssemblyCopyright("Copyright © 2015")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("5b1dac68-94c6-4d74-bd41-66bbf2ab18a5")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/WindowsRepair/WinRepair/WinRepair.csproj b/WindowsRepair/WinRepair/WinRepair.csproj
new file mode 100644
index 0000000..c8d0272
--- /dev/null
+++ b/WindowsRepair/WinRepair/WinRepair.csproj
@@ -0,0 +1,58 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {B1DDA709-0EC8-43F5-AE94-7EBFD1CAAE5D}
+ Exe
+ Properties
+ WinRepair
+ WinRepair
+ v4.5
+ 512
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WindowsRepair/WinRepair/bin/Debug/WinRepair.exe b/WindowsRepair/WinRepair/bin/Debug/WinRepair.exe
new file mode 100644
index 0000000..f26364d
Binary files /dev/null and b/WindowsRepair/WinRepair/bin/Debug/WinRepair.exe differ
diff --git a/WindowsRepair/WinRepair/bin/Debug/WinRepair.exe.config b/WindowsRepair/WinRepair/bin/Debug/WinRepair.exe.config
new file mode 100644
index 0000000..8e15646
--- /dev/null
+++ b/WindowsRepair/WinRepair/bin/Debug/WinRepair.exe.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WindowsRepair/WinRepair/bin/Debug/WinRepair.pdb b/WindowsRepair/WinRepair/bin/Debug/WinRepair.pdb
new file mode 100644
index 0000000..a12692b
Binary files /dev/null and b/WindowsRepair/WinRepair/bin/Debug/WinRepair.pdb differ
diff --git a/WindowsRepair/WinRepair/bin/Debug/WinRepair.vshost.exe b/WindowsRepair/WinRepair/bin/Debug/WinRepair.vshost.exe
new file mode 100644
index 0000000..c0dfecc
Binary files /dev/null and b/WindowsRepair/WinRepair/bin/Debug/WinRepair.vshost.exe differ
diff --git a/WindowsRepair/WinRepair/bin/Debug/WinRepair.vshost.exe.config b/WindowsRepair/WinRepair/bin/Debug/WinRepair.vshost.exe.config
new file mode 100644
index 0000000..8e15646
--- /dev/null
+++ b/WindowsRepair/WinRepair/bin/Debug/WinRepair.vshost.exe.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WindowsRepair/WinRepair/bin/Debug/WinRepair.vshost.exe.manifest b/WindowsRepair/WinRepair/bin/Debug/WinRepair.vshost.exe.manifest
new file mode 100644
index 0000000..061c9ca
--- /dev/null
+++ b/WindowsRepair/WinRepair/bin/Debug/WinRepair.vshost.exe.manifest
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WindowsRepair/WinRepair/bin/Release/WinRepair.exe b/WindowsRepair/WinRepair/bin/Release/WinRepair.exe
new file mode 100644
index 0000000..f8e0d9b
Binary files /dev/null and b/WindowsRepair/WinRepair/bin/Release/WinRepair.exe differ
diff --git a/WindowsRepair/WinRepair/bin/Release/WinRepair.exe.config b/WindowsRepair/WinRepair/bin/Release/WinRepair.exe.config
new file mode 100644
index 0000000..8e15646
--- /dev/null
+++ b/WindowsRepair/WinRepair/bin/Release/WinRepair.exe.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WindowsRepair/WinRepair/bin/Release/WinRepair.pdb b/WindowsRepair/WinRepair/bin/Release/WinRepair.pdb
new file mode 100644
index 0000000..e13c64e
Binary files /dev/null and b/WindowsRepair/WinRepair/bin/Release/WinRepair.pdb differ
diff --git a/WindowsRepair/WinRepair/bin/Release/WinRepair.vshost.exe b/WindowsRepair/WinRepair/bin/Release/WinRepair.vshost.exe
new file mode 100644
index 0000000..c0dfecc
Binary files /dev/null and b/WindowsRepair/WinRepair/bin/Release/WinRepair.vshost.exe differ
diff --git a/WindowsRepair/WinRepair/bin/Release/WinRepair.vshost.exe.config b/WindowsRepair/WinRepair/bin/Release/WinRepair.vshost.exe.config
new file mode 100644
index 0000000..8e15646
--- /dev/null
+++ b/WindowsRepair/WinRepair/bin/Release/WinRepair.vshost.exe.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WindowsRepair/WinRepair/bin/Release/WinRepair.vshost.exe.manifest b/WindowsRepair/WinRepair/bin/Release/WinRepair.vshost.exe.manifest
new file mode 100644
index 0000000..061c9ca
--- /dev/null
+++ b/WindowsRepair/WinRepair/bin/Release/WinRepair.vshost.exe.manifest
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WindowsRepair/WinRepair/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/WindowsRepair/WinRepair/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
new file mode 100644
index 0000000..dda13ca
Binary files /dev/null and b/WindowsRepair/WinRepair/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/WindowsRepair/WinRepair/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/WindowsRepair/WinRepair/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
new file mode 100644
index 0000000..e69de29
diff --git a/WindowsRepair/WinRepair/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/WindowsRepair/WinRepair/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
new file mode 100644
index 0000000..e69de29
diff --git a/WindowsRepair/WinRepair/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/WindowsRepair/WinRepair/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
new file mode 100644
index 0000000..e69de29
diff --git a/WindowsRepair/WinRepair/obj/Debug/WinRepair.csproj.FileListAbsolute.txt b/WindowsRepair/WinRepair/obj/Debug/WinRepair.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..e89389d
--- /dev/null
+++ b/WindowsRepair/WinRepair/obj/Debug/WinRepair.csproj.FileListAbsolute.txt
@@ -0,0 +1,6 @@
+G:\VSProjects\WinRepair\WinRepair\bin\Debug\WinRepair.exe.config
+G:\VSProjects\WinRepair\WinRepair\bin\Debug\WinRepair.exe
+G:\VSProjects\WinRepair\WinRepair\bin\Debug\WinRepair.pdb
+G:\VSProjects\WinRepair\WinRepair\obj\Debug\WinRepair.csprojResolveAssemblyReference.cache
+G:\VSProjects\WinRepair\WinRepair\obj\Debug\WinRepair.exe
+G:\VSProjects\WinRepair\WinRepair\obj\Debug\WinRepair.pdb
diff --git a/WindowsRepair/WinRepair/obj/Debug/WinRepair.csprojResolveAssemblyReference.cache b/WindowsRepair/WinRepair/obj/Debug/WinRepair.csprojResolveAssemblyReference.cache
new file mode 100644
index 0000000..f84cd4a
Binary files /dev/null and b/WindowsRepair/WinRepair/obj/Debug/WinRepair.csprojResolveAssemblyReference.cache differ
diff --git a/WindowsRepair/WinRepair/obj/Debug/WinRepair.exe b/WindowsRepair/WinRepair/obj/Debug/WinRepair.exe
new file mode 100644
index 0000000..f26364d
Binary files /dev/null and b/WindowsRepair/WinRepair/obj/Debug/WinRepair.exe differ
diff --git a/WindowsRepair/WinRepair/obj/Debug/WinRepair.pdb b/WindowsRepair/WinRepair/obj/Debug/WinRepair.pdb
new file mode 100644
index 0000000..a12692b
Binary files /dev/null and b/WindowsRepair/WinRepair/obj/Debug/WinRepair.pdb differ
diff --git a/WindowsRepair/WinRepair/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/WindowsRepair/WinRepair/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
new file mode 100644
index 0000000..c935be1
Binary files /dev/null and b/WindowsRepair/WinRepair/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/WindowsRepair/WinRepair/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/WindowsRepair/WinRepair/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
new file mode 100644
index 0000000..e69de29
diff --git a/WindowsRepair/WinRepair/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/WindowsRepair/WinRepair/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
new file mode 100644
index 0000000..e69de29
diff --git a/WindowsRepair/WinRepair/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/WindowsRepair/WinRepair/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
new file mode 100644
index 0000000..e69de29
diff --git a/WindowsRepair/WinRepair/obj/Release/WinRepair.csproj.FileListAbsolute.txt b/WindowsRepair/WinRepair/obj/Release/WinRepair.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..4911717
--- /dev/null
+++ b/WindowsRepair/WinRepair/obj/Release/WinRepair.csproj.FileListAbsolute.txt
@@ -0,0 +1,5 @@
+G:\VSProjects\WinRepair\WinRepair\bin\Release\WinRepair.exe.config
+G:\VSProjects\WinRepair\WinRepair\bin\Release\WinRepair.exe
+G:\VSProjects\WinRepair\WinRepair\bin\Release\WinRepair.pdb
+G:\VSProjects\WinRepair\WinRepair\obj\Release\WinRepair.exe
+G:\VSProjects\WinRepair\WinRepair\obj\Release\WinRepair.pdb
diff --git a/WindowsRepair/WinRepair/obj/Release/WinRepair.exe b/WindowsRepair/WinRepair/obj/Release/WinRepair.exe
new file mode 100644
index 0000000..f8e0d9b
Binary files /dev/null and b/WindowsRepair/WinRepair/obj/Release/WinRepair.exe differ
diff --git a/WindowsRepair/WinRepair/obj/Release/WinRepair.pdb b/WindowsRepair/WinRepair/obj/Release/WinRepair.pdb
new file mode 100644
index 0000000..e13c64e
Binary files /dev/null and b/WindowsRepair/WinRepair/obj/Release/WinRepair.pdb differ