diff --git a/Patcher/_port/Patcher/PatchClient/App.axaml b/Patcher/_port/Patcher/PatchClient/App.axaml
index fed9ac5..30a308b 100644
--- a/Patcher/_port/Patcher/PatchClient/App.axaml
+++ b/Patcher/_port/Patcher/PatchClient/App.axaml
@@ -22,7 +22,7 @@
-
-
+
+
diff --git a/Patcher/_port/Patcher/PatchClient/Assets/Styles.axaml b/Patcher/_port/Patcher/PatchClient/Assets/Styles.axaml
index 309755a..0fbcd7f 100644
--- a/Patcher/_port/Patcher/PatchClient/Assets/Styles.axaml
+++ b/Patcher/_port/Patcher/PatchClient/Assets/Styles.axaml
@@ -2,23 +2,45 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:cc="using:PatchClient.CustomControls">
-
+
+
+
+
+
+
+
+
+
+
-
+
-
+
+
-
+
+
+
+
-
+
+
diff --git a/Patcher/_port/Patcher/PatchClient/CustomControls/TitleBar.axaml b/Patcher/_port/Patcher/PatchClient/CustomControls/TitleBar.axaml
index b5f872f..a432935 100644
--- a/Patcher/_port/Patcher/PatchClient/CustomControls/TitleBar.axaml
+++ b/Patcher/_port/Patcher/PatchClient/CustomControls/TitleBar.axaml
@@ -5,41 +5,40 @@
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="PatchClient.CustomControls.TitleBar">
-
-
+
-
-
-
-
+
+
+
+
diff --git a/Patcher/_port/Patcher/PatchClient/CustomControls/TitleBar.axaml.cs b/Patcher/_port/Patcher/PatchClient/CustomControls/TitleBar.axaml.cs
index 9fb5ffa..75f094a 100644
--- a/Patcher/_port/Patcher/PatchClient/CustomControls/TitleBar.axaml.cs
+++ b/Patcher/_port/Patcher/PatchClient/CustomControls/TitleBar.axaml.cs
@@ -27,6 +27,15 @@ namespace PatchClient.CustomControls
set => SetValue(TitleProperty, value);
}
+ public static readonly StyledProperty XButtonForegroundProperty =
+ AvaloniaProperty.Register(nameof(XButtonForeground));
+
+ public IBrush XButtonForeground
+ {
+ get => GetValue(XButtonForegroundProperty);
+ set => SetValue(XButtonForegroundProperty, value);
+ }
+
public static new readonly StyledProperty ForegroundProperty =
AvaloniaProperty.Register(nameof(Foreground));
diff --git a/Patcher/_port/Patcher/PatchClient/Properties/launchSettings.json b/Patcher/_port/Patcher/PatchClient/Properties/launchSettings.json
index 97bb0df..e0551b4 100644
--- a/Patcher/_port/Patcher/PatchClient/Properties/launchSettings.json
+++ b/Patcher/_port/Patcher/PatchClient/Properties/launchSettings.json
@@ -1,9 +1,7 @@
{
"profiles": {
"PatchClient": {
- "commandName": "Executable",
- "executablePath": "Z:\\SPTarkov\\Patcher\\Patcher\\_port\\Patcher\\PatchClient\\bin\\Debug\\net5.0\\PatchClient.exe",
- "workingDirectory": "C:\\Users\\JohnO\\Desktop\\12.12.2.16165"
+ "commandName": "Project"
}
}
}
\ No newline at end of file
diff --git a/Patcher/_port/Patcher/PatchClient/ViewModels/PatcherViewModel.cs b/Patcher/_port/Patcher/PatchClient/ViewModels/PatcherViewModel.cs
index 34b9bca..8bc9b3c 100644
--- a/Patcher/_port/Patcher/PatchClient/ViewModels/PatcherViewModel.cs
+++ b/Patcher/_port/Patcher/PatchClient/ViewModels/PatcherViewModel.cs
@@ -44,35 +44,6 @@ namespace PatchClient.ViewModels
RunPatcher();
}
- [Obsolete]
- private void Test()
- {
- Task.Run(() =>
- {
- LineItem x = new LineItem("test 1", 30);
- LineItem xx = new LineItem("test 2", 100);
- LineItem xxx = new LineItem("test 3", 70);
-
- LineItems.Add(new LineItemProgress(x));
- LineItems.Add(new LineItemProgress(xx));
- LineItems.Add(new LineItemProgress(xxx));
-
- for (int i = 0; i <= 100; i++)
- {
- System.Threading.Thread.Sleep(20);
- PatchPercent = i;
- ProgressMessage = $"Patching @ {i}%";
-
- foreach(var item in LineItems)
- {
- item.UpdateProgress(item.Total - i);
- }
- }
-
- navigator.SelectedViewModel = new MessageViewModel("Test Run Complete").WithDelay(400);
- });
- }
-
private void RunPatcher()
{
Task.Run(() =>
diff --git a/Patcher/_port/Patcher/PatchClient/Views/MainWindow.axaml b/Patcher/_port/Patcher/PatchClient/Views/MainWindow.axaml
index e1c50c3..a9720f9 100644
--- a/Patcher/_port/Patcher/PatchClient/Views/MainWindow.axaml
+++ b/Patcher/_port/Patcher/PatchClient/Views/MainWindow.axaml
@@ -8,11 +8,12 @@
x:Class="PatchClient.Views.MainWindow"
Icon="/Assets/avalonia-logo.ico"
Title="Patch Client"
- Height="300" Width="600"
+ Height="240" Width="600"
WindowStartupLocation="CenterScreen"
ExtendClientAreaToDecorationsHint="True"
ExtendClientAreaChromeHints="NoChrome"
ExtendClientAreaTitleBarHeightHint="-1"
+ Background="{StaticResource AKI_Background_Light}"
>
diff --git a/Patcher/_port/Patcher/PatchClient/Views/MessageView.axaml b/Patcher/_port/Patcher/PatchClient/Views/MessageView.axaml
index 7449ddf..9d52fd9 100644
--- a/Patcher/_port/Patcher/PatchClient/Views/MessageView.axaml
+++ b/Patcher/_port/Patcher/PatchClient/Views/MessageView.axaml
@@ -13,7 +13,7 @@
diff --git a/Patcher/_port/Patcher/PatchClient/Views/PatcherView.axaml b/Patcher/_port/Patcher/PatchClient/Views/PatcherView.axaml
index 530e304..1197554 100644
--- a/Patcher/_port/Patcher/PatchClient/Views/PatcherView.axaml
+++ b/Patcher/_port/Patcher/PatchClient/Views/PatcherView.axaml
@@ -21,12 +21,11 @@
+ Classes="dark"/>
@@ -34,15 +33,17 @@
-
-
-
-
+
+
+
-
+ Classes.done="{Binding Completed}"/>
+