diff --git a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml index 35bf5e4d..bfb6a9a5 100644 --- a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml +++ b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml @@ -4440,11 +4440,6 @@ 全局阅片显示类型 - - - 转化显示类型 - - 默认值 @@ -4700,11 +4695,6 @@ 全局阅片显示类型 - - - 转化显示类型 - - 默认值 @@ -5025,11 +5015,6 @@ 全局阅片显示类型 - - - 转化显示类型 - - 默认值 @@ -5175,11 +5160,6 @@ 全局阅片显示类型 - - - 转化显示类型 - - 默认值 diff --git a/Install/Install.csproj b/Install/Install.csproj index 55969b0c..bd46bf2f 100644 --- a/Install/Install.csproj +++ b/Install/Install.csproj @@ -1,4 +1,4 @@ - + Exe diff --git a/Install/Program.cs b/Install/Program.cs index 677f7b5f..1914ceab 100644 --- a/Install/Program.cs +++ b/Install/Program.cs @@ -8,22 +8,32 @@ try // 创建一个SSH客户端实例 using (var client = new SshClient("123.56.94.154", "Administrator", "WHxckj2019")) { - - // 连接到远程服务器 client.Connect(); //&& .\\IRaCIS_Vue_Web.bat //&& ./IRaCIS_Vue_Web.bat - string command = "cd C:\\Users\\Administrator\\bat && .\\IRaCIS_Vue_Web.bat "; + string command = $@"cd C:\Users\Administrator\VueSourceCode && npm i && npm run build"; using (var cmd = client.CreateCommand(command)) { + + Console.WriteLine("开始执行"); + + Console.WriteLine(command); + + var output = cmd.Execute(); - Console.WriteLine(output); + + + var output3 = cmd.Execute($@"xcopy /Y /Q ""C:\Users\Administrator\VueSourceCode\dist\index.html"" ""D:\Develop\PublishSite\IRaCIS.Vue.Web\dist\"""); + + Console.WriteLine(output); + + Console.WriteLine("发布成功"); }