diff --git a/Patcher/PatchClient/App.xaml b/Patcher/PatchClient/App.xaml
index 58657c0..180f09e 100644
--- a/Patcher/PatchClient/App.xaml
+++ b/Patcher/PatchClient/App.xaml
@@ -4,6 +4,153 @@
xmlns:local="clr-namespace:PatchClient"
StartupUri="MainWindow.xaml">
-
+
+ #121212
+ #FFC107
+ #FFFFFF
+ #282828
+ #323947
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Patcher/PatchClient/Extensions/ControlExtensions.cs b/Patcher/PatchClient/Extensions/ControlExtensions.cs
index bf6b129..a635dde 100644
--- a/Patcher/PatchClient/Extensions/ControlExtensions.cs
+++ b/Patcher/PatchClient/Extensions/ControlExtensions.cs
@@ -1,5 +1,6 @@
using System.Windows;
using System.Windows.Controls;
+using System.Windows.Shell;
namespace PatchClient.Extensions
{
diff --git a/Patcher/PatchClient/MainWindow.xaml b/Patcher/PatchClient/MainWindow.xaml
index f7d83e5..5cb92b5 100644
--- a/Patcher/PatchClient/MainWindow.xaml
+++ b/Patcher/PatchClient/MainWindow.xaml
@@ -7,18 +7,45 @@
mc:Ignorable="d"
Title="Patching Client" Height="200" Width="600"
WindowStartupLocation="CenterScreen"
- Loaded="Window_Loaded">
+ Background="{StaticResource AKI_Background_Light}"
+ Loaded="Window_Loaded"
+ WindowStyle="SingleBorderWindow">
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
diff --git a/Patcher/PatchGenerator/MainWindow.xaml.cs b/Patcher/PatchGenerator/MainWindow.xaml.cs
index 7cde06f..0431190 100644
--- a/Patcher/PatchGenerator/MainWindow.xaml.cs
+++ b/Patcher/PatchGenerator/MainWindow.xaml.cs
@@ -18,6 +18,7 @@ namespace PatchGenerator
private string compareFolder = "";
private string targetFolder = "";
private string outputFolderName = "";
+ public bool AutoZip { get; set; } = true;
private Stopwatch stopwatch = new Stopwatch();
@@ -103,7 +104,10 @@ namespace PatchGenerator
File.Copy(LazyOperations.PatcherClientPath, $"{outputFolderName}\\patcher.exe", true);
//compress patch output folder to 7z file
- LazyOperations.StartZipProcess(outputFolderName, $"{outputFolderName}.7z".FromCwd());
+ if (AutoZip)
+ {
+ LazyOperations.StartZipProcess(outputFolderName, $"{outputFolderName}.7z".FromCwd());
+ }
GenProgressBar.DispatcherSetValue(100);
GenProgressMessageLabel.DispaatcherSetContent("Done");
@@ -136,6 +140,7 @@ namespace PatchGenerator
CompareLabel.IsEnabled = false;
TargetLabel.IsEnabled = false;
FileNameBox.IsEnabled = false;
+ AutoZip_checkBox.IsEnabled = false;
string InfoNeededMessage = "You must set the following: ";
bool infoNeeded = false;
@@ -168,6 +173,7 @@ namespace PatchGenerator
CompareLabel.IsEnabled = true;
TargetLabel.IsEnabled = true;
FileNameBox.IsEnabled = true;
+ AutoZip_checkBox.IsEnabled = true;
return;
}
@@ -177,6 +183,7 @@ namespace PatchGenerator
CompareLabel.DispatcherSetEnabled(true);
TargetLabel.DispatcherSetEnabled(true);
FileNameBox.DispatcherSetEnabled(true);
+ AutoZip_checkBox.DispatcherSetEnabled(true);
GenProgressMessageLabel.DispaatcherSetContent("");
GenProgressInfoLabel.DispaatcherSetContent(info);
diff --git a/Patcher/PatcherUtils/FilePatcher.cs b/Patcher/PatcherUtils/FilePatcher.cs
index e93969d..f3ec4db 100644
--- a/Patcher/PatcherUtils/FilePatcher.cs
+++ b/Patcher/PatcherUtils/FilePatcher.cs
@@ -58,8 +58,6 @@ namespace PatcherUtils
{
DirectoryInfo di = new DirectoryInfo(patchpath);
- //RaiseProgressChanged(0, fileCount, "Patching client...");
-
foreach (FileInfo file in di.GetFiles())
{
FileInfo target = null;
diff --git a/Patcher/PatcherUtils/Resources/PatchClient.exe b/Patcher/PatcherUtils/Resources/PatchClient.exe
index 1ee5d62..736d0fd 100644
Binary files a/Patcher/PatcherUtils/Resources/PatchClient.exe and b/Patcher/PatcherUtils/Resources/PatchClient.exe differ