自动发布软件修改
parent
e981929767
commit
35435e856d
|
@ -949,7 +949,7 @@ namespace PublishSite
|
||||||
await Task.Delay(2000);
|
await Task.Delay(2000);
|
||||||
|
|
||||||
//解压到发布的目录
|
//解压到发布的目录
|
||||||
string expandCommand = $"Expand-Archive -Path '{filePath}' -DestinationPath '{desTinationFoder}' -Force";
|
string expandCommand = $"Expand-Archive -Path '{Path.Combine("C:\\", storeTempName)}' -DestinationPath '{desTinationFoder}' -Force";
|
||||||
|
|
||||||
|
|
||||||
using (var cmd = client.CreateCommand($"powershell.exe {expandCommand}"))
|
using (var cmd = client.CreateCommand($"powershell.exe {expandCommand}"))
|
||||||
|
|
Loading…
Reference in New Issue