diff --git a/.idea/.idea.SPTInstaller/.idea/avalonia.xml b/.idea/.idea.SPTInstaller/.idea/avalonia.xml
index 209db0b..6f7ffd1 100644
--- a/.idea/.idea.SPTInstaller/.idea/avalonia.xml
+++ b/.idea/.idea.SPTInstaller/.idea/avalonia.xml
@@ -7,6 +7,7 @@
+
diff --git a/SPTInstaller/CustomControls/Dialogs/ChangeLogDialog.axaml b/SPTInstaller/CustomControls/Dialogs/ChangeLogDialog.axaml
index a9ec698..4f4f738 100644
--- a/SPTInstaller/CustomControls/Dialogs/ChangeLogDialog.axaml
+++ b/SPTInstaller/CustomControls/Dialogs/ChangeLogDialog.axaml
@@ -5,7 +5,7 @@
xmlns:dialogHost="clr-namespace:DialogHostAvalonia;assembly=DialogHost.Avalonia"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="SPTInstaller.CustomControls.Dialogs.ChangeLogDialog"
- MinWidth="400">
+ MinWidth="400" MaxWidth="600">
diff --git a/SPTInstaller/Models/InstallerInfo.cs b/SPTInstaller/Models/InstallerInfo.cs
index 2ff5002..5d3a7fd 100644
--- a/SPTInstaller/Models/InstallerInfo.cs
+++ b/SPTInstaller/Models/InstallerInfo.cs
@@ -1,7 +1,9 @@
-namespace SPTInstaller.Models;
+using System.Collections.Generic;
+
+namespace SPTInstaller.Models;
public class InstallerInfo
{
public string LatestVersion { get; set; }
- public string ChangeLog { get; set; }
+ public List Changes { get; set; }
}
\ No newline at end of file
diff --git a/SPTInstaller/Models/InstallerUpdateInfo.cs b/SPTInstaller/Models/InstallerUpdateInfo.cs
index 1c971f2..e8575ce 100644
--- a/SPTInstaller/Models/InstallerUpdateInfo.cs
+++ b/SPTInstaller/Models/InstallerUpdateInfo.cs
@@ -167,9 +167,13 @@ public class InstallerUpdateInfo : ReactiveObject
}
NewVersion = latestVersion;
- ChangeLog = installerInfo.ChangeLog;
- EndCheck($"Update available: v{latestVersion}", true);
+ foreach (var change in installerInfo.Changes)
+ {
+ ChangeLog += $"◉ {change}\n";
+ }
+
+ EndCheck($"Update Installer: v{latestVersion}", true);
return;
}
diff --git a/SPTInstaller/installer.json b/SPTInstaller/installer.json
new file mode 100644
index 0000000..f79f134
--- /dev/null
+++ b/SPTInstaller/installer.json
@@ -0,0 +1,9 @@
+{
+ // You will want to remove comments before using this template
+ "latestVersion": "0.0", // the new version you are pushing
+ "changes": [ // a list of chnages. These will be formated for you. Don't add leading bullets or such
+ "changes",
+ "go",
+ "here"
+ ]
+}
\ No newline at end of file