自动发布软件修改

Test.EIImageViewer
hang 2023-05-31 18:06:14 +08:00
parent e981929767
commit 35435e856d
1 changed files with 1 additions and 1 deletions

View File

@ -949,7 +949,7 @@ namespace PublishSite
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}"))