Compare commits

..

2 Commits

Author SHA1 Message Date
655639fb45 Merge branch 'main' of ssh://git.kaiyili-lab.com:2022/ssp/AutoUpdateNET 2025-02-13 15:04:42 +08:00
9c3257b317 1 2025-02-13 15:04:36 +08:00
6 changed files with 13 additions and 14 deletions

View File

@ -8,6 +8,5 @@
xmlns:local="clr-namespace:AutoUpdate" xmlns:local="clr-namespace:AutoUpdate"
mc:Ignorable="d" mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800" Loaded="MetroWindow_Loaded"> Title="MainWindow" Height="450" Width="800" Loaded="MetroWindow_Loaded">
<Grid> <Grid></Grid>
</Grid>
</mah:MetroWindow> </mah:MetroWindow>

View File

@ -56,7 +56,7 @@ if exist ""%~dp0Updates"" (
) )
:: ::
start """" ""%~dp0LMES.exe"" start """" ""%~dp0AutoUpdate.exe""
:: ::
del ""%~f0"" del ""%~f0""

View File

@ -18,6 +18,6 @@ namespace AutoUpdate
public class Lmes连接参数类 public class Lmes连接参数类
{ {
public string LMES地址 { get; set; } = @"http://127.0.0.1:5000/"; public string LMES地址 { get; set; } = @"http://192.168.43.215:7116/";
} }
} }

View File

@ -25,7 +25,7 @@ namespace AutoUpdateServer.Controllers
// 设置版本文件存储路径 // 设置版本文件存储路径
= Path.Combine( = Path.Combine(
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
"Lmes_1.0", "SSP",
"VersionInfo" "VersionInfo"
); );

View File

@ -6,7 +6,7 @@
"dotnetRunMessages": true, "dotnetRunMessages": true,
"launchBrowser": true, "launchBrowser": true,
"launchUrl": "swagger", "launchUrl": "swagger",
"applicationUrl": "http://localhost:5062", "applicationUrl": "http://192.168.43.215:5062",
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
} }
@ -16,7 +16,7 @@
"dotnetRunMessages": true, "dotnetRunMessages": true,
"launchBrowser": true, "launchBrowser": true,
"launchUrl": "swagger", "launchUrl": "swagger",
"applicationUrl": "https://localhost:7116;http://localhost:5062", "applicationUrl": "https://192.168.43.215:7116;http://localhost:5062",
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
} }

View File

@ -5,11 +5,11 @@
"Microsoft.AspNetCore": "Warning" "Microsoft.AspNetCore": "Warning"
} }
}, },
"Kestrel": { //"Kestrel": {
"Endpoints": { // "Endpoints": {
"Http": { // "Http": {
"Url": "http://*:5000" // "Url": "http://*:5000"
} // }
} // }
} //}
} }