another fix
This commit is contained in:
@@ -5,7 +5,7 @@ using Pilz;
|
|||||||
using Pilz.Configuration;
|
using Pilz.Configuration;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
[assembly: AssemblyAppVersion("1.9.1.0")]
|
[assembly: AssemblyAppVersion("1.9.2.0")]
|
||||||
|
|
||||||
namespace ModpackUpdater.Apps.Client;
|
namespace ModpackUpdater.Apps.Client;
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ public static class Extensions
|
|||||||
public static string GetDestPath(this InstallAction @this, string installDir)
|
public static string GetDestPath(this InstallAction @this, string installDir)
|
||||||
{
|
{
|
||||||
var path = @this.DestPath;
|
var path = @this.DestPath;
|
||||||
var root = Path.GetPathRoot(path);
|
var root = Path.GetPathRoot(path) ?? string.Empty;
|
||||||
var start = installDir;
|
var start = installDir;
|
||||||
while (root.Length == 3 && root.StartsWith(".."))
|
while (root.Length == 3 && root.StartsWith(".."))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user