- tweak: Change content hold think
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -305,7 +305,7 @@ public partial class ServerEntryModelView : ViewModelBase
|
||||
if (File.Exists(dotnetPath)) return dotnetPath;
|
||||
}
|
||||
|
||||
throw new Exception("Dotnet not found!");
|
||||
return "dotnet";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user