mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 23:54:26 +08:00
0.3.5
This commit is contained in:
10
run.md
10
run.md
@@ -1,4 +1,4 @@
|
||||
# LanMontainDesktop 运行指南
|
||||
# LanMountainDesktop 运行指南
|
||||
|
||||
本文档只负责“怎么跑起来”。项目介绍请看 [README.md](./README.md)。
|
||||
|
||||
@@ -11,19 +11,19 @@
|
||||
|
||||
```bash
|
||||
dotnet restore
|
||||
dotnet build LanMontainDesktop.sln -c Debug
|
||||
dotnet build LanMountainDesktop.sln -c Debug
|
||||
```
|
||||
|
||||
## 3. 运行桌面端
|
||||
```bash
|
||||
dotnet run --project LanMontainDesktop/LanMontainDesktop.csproj
|
||||
dotnet run --project LanMountainDesktop/LanMountainDesktop.csproj
|
||||
```
|
||||
|
||||
## 4. 可选:运行推荐后端
|
||||
如果你需要每日诗词/名画等推荐能力,可单独启动后端:
|
||||
|
||||
```bash
|
||||
dotnet run --project LanMontainDesktop.RecommendationBackend/LanMontainDesktop.RecommendationBackend.csproj
|
||||
dotnet run --project LanMountainDesktop.RecommendationBackend/LanMountainDesktop.RecommendationBackend.csproj
|
||||
```
|
||||
|
||||
后端默认会输出监听地址(通常是 `http://localhost:5xxx` 或 `https://localhost:7xxx`)。
|
||||
@@ -39,4 +39,4 @@ curl http://localhost:5000/health
|
||||
## 5. 常见问题
|
||||
- 启动失败提示 SDK 版本不匹配:确认 `dotnet --info` 中已安装 .NET 10 SDK。
|
||||
- 桌面端视频相关能力异常:优先在 Windows 环境下验证。
|
||||
- 配置重置:删除 `%LOCALAPPDATA%\LanMontainDesktop\settings.json` 后重启应用。
|
||||
- 配置重置:删除 `%LOCALAPPDATA%\LanMountainDesktop\settings.json` 后重启应用。
|
||||
|
||||
Reference in New Issue
Block a user