mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Merge remote-tracking branch 'origin/crit_obscure_old_request' into pre-release
# Conflicts: # CHANGELOG.md
This commit is contained in:
commit
afce8617cf
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
### Version - TBA
|
### Version - TBA
|
||||||
* Fixed some UI issues arising from 3.2.0.0 changes - more informative error text, drive space checking, wiki link button
|
* Fixed some UI issues arising from 3.2.0.0 changes - more informative error text, drive space checking, wiki link button
|
||||||
|
* Added optional JSON flag for `DisplayVersionOnlyInInstallerView` to enable the installer image to only show version number.
|
||||||
|
|
||||||
#### Version - 3.2.0.1 - 7/23/2023
|
#### Version - 3.2.0.1 - 7/23/2023
|
||||||
* Code cleanup: re-added some network and diagnostic code missing since 2.5
|
* Code cleanup: re-added some network and diagnostic code missing since 2.5
|
||||||
|
@ -82,6 +82,13 @@ namespace Wabbajack
|
|||||||
[Reactive]
|
[Reactive]
|
||||||
public string VersionText { get; private set; }
|
public string VersionText { get; private set; }
|
||||||
|
|
||||||
|
[Reactive]
|
||||||
|
public bool ImageContainsTitle { get; private set; }
|
||||||
|
|
||||||
|
[Reactive]
|
||||||
|
|
||||||
|
public bool DisplayVersionOnlyInInstallerView { get; private set; }
|
||||||
|
|
||||||
[Reactive]
|
[Reactive]
|
||||||
public IErrorResponse Error { get; private set; }
|
public IErrorResponse Error { get; private set; }
|
||||||
|
|
||||||
@ -123,6 +130,8 @@ namespace Wabbajack
|
|||||||
Metadata.DownloadMetadata.SizeOfArchives + Metadata.DownloadMetadata.SizeOfInstalledFiles
|
Metadata.DownloadMetadata.SizeOfArchives + Metadata.DownloadMetadata.SizeOfInstalledFiles
|
||||||
);
|
);
|
||||||
VersionText = "Modlist version : " + Metadata.Version;
|
VersionText = "Modlist version : " + Metadata.Version;
|
||||||
|
ImageContainsTitle = Metadata.ImageContainsTitle;
|
||||||
|
DisplayVersionOnlyInInstallerView = Metadata.DisplayVersionOnlyInInstallerView;
|
||||||
IsBroken = metadata.ValidationSummary.HasFailures || metadata.ForceDown;
|
IsBroken = metadata.ValidationSummary.HasFailures || metadata.ForceDown;
|
||||||
// https://www.wabbajack.org/modlist/wj-featured/aldrnari
|
// https://www.wabbajack.org/modlist/wj-featured/aldrnari
|
||||||
OpenWebsiteCommand = ReactiveCommand.Create(() => UIUtils.OpenWebsite(new Uri($"https://www.wabbajack.org/modlist/{Metadata.NamespacedName}")));
|
OpenWebsiteCommand = ReactiveCommand.Create(() => UIUtils.OpenWebsite(new Uri($"https://www.wabbajack.org/modlist/{Metadata.NamespacedName}")));
|
||||||
|
@ -565,7 +565,14 @@ public class InstallerVM : BackNavigatingVM, IBackNavigatingVM, ICpuStatusVM
|
|||||||
|
|
||||||
private void PopulateSlideShow(ModList modList)
|
private void PopulateSlideShow(ModList modList)
|
||||||
{
|
{
|
||||||
SlideShowTitle = modList.Name;
|
if (ModlistMetadata.ImageContainsTitle && ModlistMetadata.DisplayVersionOnlyInInstallerView)
|
||||||
|
{
|
||||||
|
SlideShowTitle = "v" + ModlistMetadata.Version.ToString();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
SlideShowTitle = modList.Name;
|
||||||
|
}
|
||||||
SlideShowAuthor = modList.Author;
|
SlideShowAuthor = modList.Author;
|
||||||
SlideShowDescription = modList.Description;
|
SlideShowDescription = modList.Description;
|
||||||
SlideShowImage = ModListImage;
|
SlideShowImage = ModListImage;
|
||||||
|
@ -30,6 +30,8 @@ public class ModlistMetadata
|
|||||||
[JsonPropertyName("image_contains_title")]
|
[JsonPropertyName("image_contains_title")]
|
||||||
public bool ImageContainsTitle { get; set; }
|
public bool ImageContainsTitle { get; set; }
|
||||||
|
|
||||||
|
[JsonPropertyName("DisplayVersionOnlyInInstallerView")] public bool DisplayVersionOnlyInInstallerView { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("force_down")] public bool ForceDown { get; set; }
|
[JsonPropertyName("force_down")] public bool ForceDown { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("links")] public LinksObject Links { get; set; } = new();
|
[JsonPropertyName("links")] public LinksObject Links { get; set; } = new();
|
||||||
|
Loading…
Reference in New Issue
Block a user