escaping paths with spaces, updated ellekit

This commit is contained in:
eevee
2025-03-30 14:54:36 +03:00
parent db63ef6ff2
commit 1c3b7ed4f2
4 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -13,7 +13,7 @@ internal static class DependencyExtensions
new ProcessStartInfo
{
FileName = "otool",
Arguments = $"-L {binary.FullName}",
Arguments = $"-L \"{binary.FullName}\"",
RedirectStandardOutput = true
}
);
@@ -35,7 +35,7 @@ internal static class DependencyExtensions
new ProcessStartInfo
{
FileName = "install_name_tool",
Arguments = $"-change {oldPath} {newPath} {binary.FullName}",
Arguments = $"-change {oldPath} {newPath} \"{binary.FullName}\"",
RedirectStandardError = true
}
);
@@ -52,7 +52,7 @@ internal static class DependencyExtensions
new ProcessStartInfo
{
FileName = "install_name_tool",
Arguments = $"-add_rpath {rPath} {binary.FullName}",
Arguments = $"-add_rpath {rPath} \"{binary.FullName}\"",
RedirectStandardOutput = true
}
);
@@ -70,7 +70,7 @@ internal static class DependencyExtensions
new ProcessStartInfo
{
FileName = "insert-dylib",
Arguments = $"{dependency} {binary.FullName} --all-yes --inplace",
Arguments = $"{dependency} \"{binary.FullName}\" --all-yes --inplace",
RedirectStandardOutput = true
}
);