Fix xcopy path on Windows in Flax.Build
This commit is contained in:
committed by
Wojtek Figat
parent
a7e428a21c
commit
810f7fb803
@@ -82,7 +82,7 @@ namespace Flax.Build.Graph
|
||||
if (Platform.BuildPlatform.Target == TargetPlatform.Windows)
|
||||
{
|
||||
task.CommandPath = "xcopy";
|
||||
task.CommandArguments = string.Format("/y \"{0}\" \"{1}\"", srcFile, outputPath);
|
||||
task.CommandArguments = string.Format("/y \"{0}\" \"{1}\"", srcFile.Replace('/', '\\'), outputPath.Replace('/', '\\'));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user