chore: remove windows

This commit is contained in:
Soulter
2026-05-22 17:58:20 +08:00
parent 250baccf5b
commit b1e1f5e6e4
6 changed files with 36 additions and 330 deletions

View File

@@ -36,7 +36,9 @@ The command uses the `astrbot` executable found on `PATH` (usually generated by
- Linux: `systemd --user`
- macOS: `LaunchAgent`
- Windows: Task Scheduler
> [!NOTE]
> `astrbot service` is not supported on Windows yet. Use `astrbot run` to start AstrBot in the foreground.
To specify the AstrBot working directory or executable path explicitly:
@@ -68,7 +70,7 @@ astrbot service logs
astrbot service logs -f
```
On macOS and Windows, this shows stdout logs by default. To include stderr:
On macOS, this shows stdout logs by default. To include stderr:
```bash
astrbot service logs --include-stderr

View File

@@ -88,7 +88,9 @@ Each platform uses its native service manager:
| --- | --- |
| Linux | `systemd --user` |
| macOS | LaunchAgent |
| Windows | Task Scheduler |
> [!NOTE]
> `astrbot service` is not supported on Windows yet. Use `astrbot run` to start AstrBot in the foreground.
### Install
@@ -188,9 +190,9 @@ Common options:
| `--name <NAME>` | Service name. |
| `-n, --lines <N>` | Show the latest N lines. Default: 200. |
| `-f, --follow` | Follow log output. |
| `--include-stderr` | Also show stderr logs on macOS and Windows. |
| `--include-stderr` | Also show stderr logs on macOS. |
On macOS and Windows, `astrbot service logs` shows stdout logs by default, which are the `.out.log` files. Add `--include-stderr` when you also need error output.
On macOS, `astrbot service logs` shows stdout logs by default, which are the `.out.log` files. Add `--include-stderr` when you also need error output.
### Application Log File

View File

@@ -35,7 +35,9 @@ astrbot service install --now
- Linux`systemd --user`
- macOS`LaunchAgent`
- Windows任务计划程序
> [!NOTE]
> Windows 暂不支持 `astrbot service`。请先使用 `astrbot run` 前台启动。
如果需要指定 AstrBot 工作目录或可执行文件路径,可以使用:
@@ -67,7 +69,7 @@ astrbot service logs
astrbot service logs -f
```
macOS 和 Windows 下默认只显示标准输出日志;如需同时查看 stderr
macOS 下默认只显示标准输出日志;如需同时查看 stderr
```bash
astrbot service logs --include-stderr

View File

@@ -88,7 +88,9 @@ astrbot run --reload
| --- | --- |
| Linux | `systemd --user` |
| macOS | LaunchAgent |
| Windows | 任务计划程序 |
> [!NOTE]
> Windows 暂不支持 `astrbot service`。请先使用 `astrbot run` 前台启动。
### 安装服务
@@ -188,9 +190,9 @@ astrbot service logs -f
| `--name <NAME>` | 指定服务名。 |
| `-n, --lines <N>` | 显示最近 N 行,默认 200。 |
| `-f, --follow` | 持续跟随日志输出。 |
| `--include-stderr` | 在 macOS 和 Windows 上同时显示 stderr 日志。 |
| `--include-stderr` | 在 macOS 上同时显示 stderr 日志。 |
macOS 和 Windows 下,`astrbot service logs` 默认只显示标准输出日志,也就是 `.out.log`。如果需要同时查看错误输出,再加 `--include-stderr`。
macOS 下,`astrbot service logs` 默认只显示标准输出日志,也就是 `.out.log`。如果需要同时查看错误输出,再加 `--include-stderr`。
### 启用应用日志文件