diff --git a/.idea/.idea.ModpackUpdater/.idea/avalonia.xml b/.idea/.idea.ModpackUpdater/.idea/avalonia.xml
new file mode 100644
index 0000000..45462a2
--- /dev/null
+++ b/.idea/.idea.ModpackUpdater/.idea/avalonia.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/.idea.ModpackUpdater/.idea/workspace.xml b/.idea/.idea.ModpackUpdater/.idea/workspace.xml
index 3a6bb98..b184bf8 100644
--- a/.idea/.idea.ModpackUpdater/.idea/workspace.xml
+++ b/.idea/.idea.ModpackUpdater/.idea/workspace.xml
@@ -11,7 +11,11 @@
-
+
+
+
+
+
@@ -51,7 +55,7 @@
1762620497034
+
+
+
diff --git a/ModpackUpdater.Apps.Client.Gui/MainForm.axaml b/ModpackUpdater.Apps.Client.Gui/MainForm.axaml
index 64b4ea8..0396678 100644
--- a/ModpackUpdater.Apps.Client.Gui/MainForm.axaml
+++ b/ModpackUpdater.Apps.Client.Gui/MainForm.axaml
@@ -9,6 +9,7 @@
Width="520"
SizeToContent="Height"
WindowStartupLocation="CenterScreen"
+ CanMaximize="false"
Title="Minecraft Modpack Updater"
Icon="/Assets/app.ico"
>
diff --git a/ModpackUpdater.Apps.Client.Gui/MainForm.axaml.cs b/ModpackUpdater.Apps.Client.Gui/MainForm.axaml.cs
index e80e9a8..4b347aa 100644
--- a/ModpackUpdater.Apps.Client.Gui/MainForm.axaml.cs
+++ b/ModpackUpdater.Apps.Client.Gui/MainForm.axaml.cs
@@ -34,7 +34,7 @@ public partial class MainForm : Window
{
InitializeComponent();
- Title = $"{Title} (v{Assembly.GetExecutingAssembly().GetAppVersion()})";
+ Title = $"{Title} (v{Assembly.GetExecutingAssembly().GetAppVersion().ToShortString()})";
Closing += MainForm_Closing;
Loaded += MainForm_Loaded;
@@ -251,7 +251,7 @@ public partial class MainForm : Window
private void Update_InstallProgessUpdated(UpdateCheckResult result, int processedSyncs)
{
- int actionCount = result.Actions.Count;
+ var actionCount = result.Actions.Count;
SetStatus(Math.Round(processedSyncs / (double)actionCount * 100d, 1) + "%", Symbols.Fluent.GetImageSource(SymbolsFluent.software_installer));
}