diff --git a/Moonlight/App/Services/ServerService.cs b/Moonlight/App/Services/ServerService.cs index 4ec1044..c10fc33 100644 --- a/Moonlight/App/Services/ServerService.cs +++ b/Moonlight/App/Services/ServerService.cs @@ -285,7 +285,8 @@ public class ServerService Allocations = freeAllocations.ToList(), Backups = new(), OverrideStartup = "", - DockerImageIndex = image.DockerImages.FindIndex(x => x.Default) + DockerImageIndex = image.DockerImages.FindIndex(x => x.Default), + Installing = true }; foreach (var imageVariable in image.Variables) diff --git a/Moonlight/Shared/Components/FileManagerPartials/ConnectionDetailsModal.razor b/Moonlight/Shared/Components/FileManagerPartials/ConnectionDetailsModal.razor index f46dffa..50f7eae 100644 --- a/Moonlight/Shared/Components/FileManagerPartials/ConnectionDetailsModal.razor +++ b/Moonlight/Shared/Components/FileManagerPartials/ConnectionDetailsModal.razor @@ -64,11 +64,20 @@ protected override async Task OnParametersSetAsync() { - Uri uri = new Uri(await Access.GetLaunchUrl()); - - Host = uri.Host; - Port = uri.Port; - Username = uri.UserInfo.Split(':')[0]; + try + { + Uri uri = new Uri(await Access.GetLaunchUrl()); + + Host = uri.Host; + Port = uri.Port; + Username = uri.UserInfo.Split(':')[0]; + } + catch (NotImplementedException) + { + Host = "N/A"; + Port = -1; + Username = "N/A"; + } } public async Task Show() diff --git a/Moonlight/Shared/Components/Partials/Sidebar.razor b/Moonlight/Shared/Components/Partials/Sidebar.razor index d20821a..a3982aa 100644 --- a/Moonlight/Shared/Components/Partials/Sidebar.razor +++ b/Moonlight/Shared/Components/Partials/Sidebar.razor @@ -38,7 +38,7 @@