> ## Documentation Index
> Fetch the complete documentation index at: https://supastack.dev/llms.txt
> Use this file to discover all available pages before exploring further.
> For the full documentation corpus in one file, fetch: https://supastack.dev/llms-full.txt

# 测试桌面外壳

运行 Rust 和启动页测试套件，验证发布配置，然后在每个目标系统上检查已安装产物。

## 安装与配置

桌面包有两层自动化检查：启动页进行语法检查，Rust 套件覆盖 URL 解析、导航门、深链接、更新器通道、缩放持久化和窗口偏好。 两者都能在电脑上运行，无需打包安装程序，因此在安装构建版本之前请先从这里开始。

```
corepack pnpm --filter @supastack/desktop test
corepack pnpm --filter @supastack/desktop typecheck
node apps/desktop/scripts/check-release-config.mjs
```


## 实现流程

`check-release-config.mjs` 验证公开应用 URL、带版本令牌的 HTTPS 更新器端点、公钥和产品标识符。每次发布构建前运行它，让占位配置在本地失败而不是被发布。


## 验证与排障

在每个目标系统上安装构建产物，验证托盘、唤起快捷键、始终置顶、最小化启动、关闭到托盘、更新检查、离线横幅和会话持久化。单元测试证明规则；只有已安装的应用能证明窗口。


如果你想继续完成设置，可以阅读《[桌面应用故障排除](https://supastack.dev/zh/docs/desktop/troubleshooting.md)》。


## 下一篇

[桌面应用故障排除](https://supastack.dev/zh/docs/desktop/troubleshooting.md)
