mirror of
https://github.com/whoeevee/ivinject.git
synced 2026-01-09 00:25:03 +01:00
escaping paths with spaces, updated ellekit
This commit is contained in:
@@ -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
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user