Skip to content

Commit

Permalink
fix: missing space between arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
gus33000 committed Nov 1, 2024
1 parent 121cfd9 commit 01089d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Img2Ffu.Library/Writer/CatalogFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ internal static byte[] SignCatalogFile(byte[] catalogData, string secureBootSign

using (Process process = new())
{
string programFileName = secureBootSigningCommand.Split(" ")[0];
string programArguments = (string.Concat(secureBootSigningCommand.AsSpan(programFileName.Length), string.Format("\"{0}\"", catalog))).Trim();
string programFileName = secureBootSigningCommand.Split(' ')[0];
string programArguments = $"{secureBootSigningCommand.AsSpan(programFileName.Length)} \"{catalog}\"".Trim();

process.StartInfo.FileName = programFileName;
process.StartInfo.Arguments = programArguments;
Expand Down

0 comments on commit 01089d7

Please sign in to comment.