From e86fe2ee1748e14d377555006a78a2a00e64b06f Mon Sep 17 00:00:00 2001 From: Pilzinsel64 Date: Fri, 4 Jul 2025 22:27:37 +0200 Subject: [PATCH] another fix --- ModpackUpdater.Apps.Client/Program.cs | 2 +- ModpackUpdater.Manager/Extensions.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ModpackUpdater.Apps.Client/Program.cs b/ModpackUpdater.Apps.Client/Program.cs index edb4857..fe1c91f 100644 --- a/ModpackUpdater.Apps.Client/Program.cs +++ b/ModpackUpdater.Apps.Client/Program.cs @@ -5,7 +5,7 @@ using Pilz; using Pilz.Configuration; using System.Runtime.InteropServices; -[assembly: AssemblyAppVersion("1.9.1.0")] +[assembly: AssemblyAppVersion("1.9.2.0")] namespace ModpackUpdater.Apps.Client; diff --git a/ModpackUpdater.Manager/Extensions.cs b/ModpackUpdater.Manager/Extensions.cs index 5e9691d..48d2c0f 100644 --- a/ModpackUpdater.Manager/Extensions.cs +++ b/ModpackUpdater.Manager/Extensions.cs @@ -71,7 +71,7 @@ public static class Extensions public static string GetDestPath(this InstallAction @this, string installDir) { var path = @this.DestPath; - var root = Path.GetPathRoot(path); + var root = Path.GetPathRoot(path) ?? string.Empty; var start = installDir; while (root.Length == 3 && root.StartsWith("..")) {