Fixed review comments
This commit is contained in:
parent
429aa603f5
commit
5c45802391
4 changed files with 8 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue