与提交

This commit is contained in:
2023-06-21 11:24:46 +08:00
parent cda334487d
commit adbf89d451
15 changed files with 70 additions and 48 deletions
-4
View File
@@ -20,7 +20,6 @@
<None Remove="Resource\EIImageViewerService.rar" />
<None Remove="Resource\EIImageViewerWeb.rar" />
<None Remove="Resource\UnInstall.exe" />
<None Remove="Resource\医学影像处理软件用户手册.pdf" />
<None Remove="ServiceConfig.Json" />
<None Remove="Resource\Data\data.sql" />
<None Remove="Resource\Data\dbo.sql" />
@@ -47,9 +46,6 @@
<Content Include="Resource\UnInstall.exe">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Resource\医学影像处理软件用户手册.pdf">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
+8 -4
View File
@@ -164,7 +164,7 @@ namespace Start
isServiceTestOk = true;
}
private async void testNetcoreRuntime()
private void testNetcoreRuntime()
{
string runtimeListCommand = "dotnet --list-runtimes";
@@ -295,7 +295,7 @@ namespace Start
private async void confimDeployBtn_Click(object sender, EventArgs e)
private void confimDeployBtn_Click(object sender, EventArgs e)
{
portBtn_Click(null, null);
@@ -788,6 +788,8 @@ namespace Start
await ProcessStandardInputAsync(process, $@" SQLCMD -v dbName = ""{dbNameTBox.Text}"" -i ""{AppContext.BaseDirectory}Resource\Data\dbo.sql"" ");
await Task.Delay(3000);
await ProcessStandardInputAsync(process, $@" SQLCMD -v dbName = ""{dbNameTBox.Text}"" -i ""{AppContext.BaseDirectory}Resource\Data\data.sql"" ");
@@ -823,7 +825,7 @@ namespace Start
}
}
catch (SqlException)
catch (SqlException ex)
{
WinformLog($"连接字符串错误", Color.Red);
@@ -883,6 +885,8 @@ namespace Start
try
{
WinformLog($"现在准备打开浏览器...", Color.Green);
await Task.Delay(2000);
// Use ProcessStartInfo class
var start = new ProcessStartInfo($"http://127.0.0.1:{vuePort}")
{
@@ -925,7 +929,7 @@ namespace Start
}
private async void selectPathBtn_Click(object sender, EventArgs e)
private void selectPathBtn_Click(object sender, EventArgs e)
{
FolderBrowserDialog dialog = new FolderBrowserDialog();
if (dialog.ShowDialog() == DialogResult.OK)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.