1
0
mirror of https://github.com/SirusDoma/VoxCharger.git synced 2024-11-23 22:51:01 +01:00

Merge pull request #1 from Ghastlcon/master

Fix path with whitespace
This commit is contained in:
CXO2 2022-02-05 15:50:03 +07:00 committed by GitHub
commit 7fed5d6283
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ namespace VoxCharger
string output = Path.Combine(tempDir, $"{Directory.GetFiles(tempDir).Length}.wav");
Execute(
ConverterFileName,
$"{inputFileName} {output}" + (preview ? " preview" : string.Empty)
$"\"{inputFileName}\" \"{output}\"" + (preview ? " preview" : string.Empty)
);
return tempDir;
@ -29,7 +29,7 @@ namespace VoxCharger
{
Execute(
BuilderFileName,
outputFileName,
$"\"{outputFileName}\"",
inputDir
);
}