From 8573fffaa25a1e9bd88e29149d68c7364a15aac6 Mon Sep 17 00:00:00 2001 From: ChiaraBm Date: Sat, 6 Sep 2025 18:42:28 +0200 Subject: [PATCH] Updated dependencies. Changed version. Fixed small file manager archive format issue --- .../Moonlight.ApiServer.Runtime.csproj | 7 +++++-- .../Moonlight.ApiServer.csproj | 9 ++++----- .../Moonlight.Client.Runtime.csproj | 4 ++-- .../Implementations/SystemFsAccess.cs | 20 +++++-------------- Moonlight.Client/Moonlight.Client.csproj | 8 ++++---- Moonlight.Shared/Moonlight.Shared.csproj | 2 +- 6 files changed, 21 insertions(+), 29 deletions(-) diff --git a/Moonlight.ApiServer.Runtime/Moonlight.ApiServer.Runtime.csproj b/Moonlight.ApiServer.Runtime/Moonlight.ApiServer.Runtime.csproj index 82f63230..562c6ad9 100644 --- a/Moonlight.ApiServer.Runtime/Moonlight.ApiServer.Runtime.csproj +++ b/Moonlight.ApiServer.Runtime/Moonlight.ApiServer.Runtime.csproj @@ -13,8 +13,11 @@ - - + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/Moonlight.ApiServer/Moonlight.ApiServer.csproj b/Moonlight.ApiServer/Moonlight.ApiServer.csproj index 38ac73dd..2e3d34df 100644 --- a/Moonlight.ApiServer/Moonlight.ApiServer.csproj +++ b/Moonlight.ApiServer/Moonlight.ApiServer.csproj @@ -13,7 +13,7 @@ Moonlight.ApiServer - 2.1.9 + 2.1.10 Moonlight Panel A build of the api server for moonlight development https://github.com/Moonlight-Panel/Moonlight @@ -25,17 +25,16 @@ - - + - + - + \ No newline at end of file diff --git a/Moonlight.Client.Runtime/Moonlight.Client.Runtime.csproj b/Moonlight.Client.Runtime/Moonlight.Client.Runtime.csproj index 76094f98..a56848a9 100644 --- a/Moonlight.Client.Runtime/Moonlight.Client.Runtime.csproj +++ b/Moonlight.Client.Runtime/Moonlight.Client.Runtime.csproj @@ -15,8 +15,8 @@ - - + + diff --git a/Moonlight.Client/Implementations/SystemFsAccess.cs b/Moonlight.Client/Implementations/SystemFsAccess.cs index 25d19ce4..bacc9866 100644 --- a/Moonlight.Client/Implementations/SystemFsAccess.cs +++ b/Moonlight.Client/Implementations/SystemFsAccess.cs @@ -97,21 +97,11 @@ public class SystemFsAccess : IFsAccess, ICombineAccess, IArchiveAccess, IDownlo ); } - public ArchiveFormat[] ArchiveFormats { get; } = new[] - { - new ArchiveFormat() - { - DisplayName = "Zip Archive", - Extensions = ["zip"], - Identifier = "zip" - }, - new ArchiveFormat() - { - DisplayName = "Tar.gz Archive", - Extensions = ["tar.gz"], - Identifier = "tar.gz" - } - }; + public ArchiveFormat[] ArchiveFormats { get; } = + [ + new("zip", ["zip"], "Zip Archive"), + new("tar.gz", ["tar.gz"], "Tar.gz Archive") + ]; public async Task Archive( string destination, diff --git a/Moonlight.Client/Moonlight.Client.csproj b/Moonlight.Client/Moonlight.Client.csproj index f08284a6..705908e9 100644 --- a/Moonlight.Client/Moonlight.Client.csproj +++ b/Moonlight.Client/Moonlight.Client.csproj @@ -12,7 +12,7 @@ frontend Moonlight.Client - 2.1.9 + 2.1.10 Moonlight Panel A build of the client for moonlight development https://github.com/Moonlight-Panel/Moonlight @@ -21,11 +21,11 @@ false - + - + - + diff --git a/Moonlight.Shared/Moonlight.Shared.csproj b/Moonlight.Shared/Moonlight.Shared.csproj index 10d2350d..b5246fec 100644 --- a/Moonlight.Shared/Moonlight.Shared.csproj +++ b/Moonlight.Shared/Moonlight.Shared.csproj @@ -9,7 +9,7 @@ Moonlight.Shared shared Moonlight.Shared - 2.1.9 + 2.1.10 Moonlight Panel A build of the shared classes for moonlight development https://github.com/Moonlight-Panel/Moonlight