Fixed review comments

This commit is contained in:
Mbucari 2023-02-28 07:42:26 -07:00
parent 429aa603f5
commit 5c45802391
4 changed files with 8 additions and 4 deletions

View file

@ -3,6 +3,7 @@ using System.Diagnostics;
using LibationFileManager;
using System.IO;
using System;
using Dinah.Core;
namespace WindowsConfigApp
{
@ -42,7 +43,10 @@ namespace WindowsConfigApp
File.Copy("ZipExtractor.exe", zipExtractor, overwrite: true);
RunAsRoot(zipExtractor, $"--input \"{upgradeBundle}\" --output \"{thisDir}\" --executable \"{thisExe}\"");
RunAsRoot(zipExtractor,
$"--input {upgradeBundle.SurroundWithQuotes()} " +
$"--output {thisDir.SurroundWithQuotes()} " +
$"--executable {thisExe.SurroundWithQuotes()}");
}
public Process RunAsRoot(string exe, string args)