Compare commits
2 Commits
2b305de774
...
655639fb45
| Author | SHA1 | Date | |
|---|---|---|---|
| 655639fb45 | |||
| 9c3257b317 |
@ -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>
|
||||||
|
|||||||
@ -56,7 +56,7 @@ if exist ""%~dp0Updates"" (
|
|||||||
)
|
)
|
||||||
|
|
||||||
:: 启动程序
|
:: 启动程序
|
||||||
start """" ""%~dp0LMES.exe""
|
start """" ""%~dp0AutoUpdate.exe""
|
||||||
|
|
||||||
:: 删除自身
|
:: 删除自身
|
||||||
del ""%~f0""
|
del ""%~f0""
|
||||||
|
|||||||
@ -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/";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,11 +5,11 @@
|
|||||||
"Microsoft.AspNetCore": "Warning"
|
"Microsoft.AspNetCore": "Warning"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Kestrel": {
|
//"Kestrel": {
|
||||||
"Endpoints": {
|
// "Endpoints": {
|
||||||
"Http": {
|
// "Http": {
|
||||||
"Url": "http://*:5000"
|
// "Url": "http://*:5000"
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user