- tweak: Change content hold think

This commit is contained in:
2025-03-13 14:58:47 +03:00
parent fecaa266cf
commit 5384e97640
12 changed files with 82 additions and 85 deletions

View File

@@ -197,12 +197,12 @@ public sealed partial class ContentBrowserViewModel : ViewModelBase , IViewModel
var rurl = serverUrl.ToRobustUrl();
var info = await ContentService.GetBuildInfo(rurl, CancellationService.Token);
var items = await ContentService.EnsureItems(info.RobustManifestInfo, loading,
var hashApi = await ContentService.EnsureItems(info.RobustManifestInfo, loading,
CancellationService.Token);
var rootEntry = new ContentEntry(this, "", "", serverUrl);
foreach (var item in items)
foreach (var item in hashApi.Manifest.Values)
{
var path = new ContentPath(item.Path);
rootEntry.CreateItem(path, item);

View File

@@ -10,7 +10,7 @@ namespace Nebula.Launcher.ViewModels.Popup;
public sealed partial class ExceptionListViewModel : PopupViewModelBase
{
[GenerateProperty] public override PopupMessageService PopupMessageService { get; }
public override string Title => "Oopsie! Some shit is happened now!";
public override string Title => "Exception was thrown";
public override bool IsClosable => true;
public ObservableCollection<Exception> Errors { get; } = new();

View File

@@ -305,7 +305,7 @@ public partial class ServerEntryModelView : ViewModelBase
if (File.Exists(dotnetPath)) return dotnetPath;
}
throw new Exception("Dotnet not found!");
return "dotnet";
}
}