desktop-pet-app 0.3.5 → 0.3.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/out/main/index.js +625 -116
- package/out/mcp-server/index.js +36611 -343
- package/package.json +13 -5
package/README.md
CHANGED
|
@@ -24,7 +24,9 @@ ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ npm install --global ./d
|
|
|
24
24
|
desktop-pet
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
客户端默认连接 `https://deskpalai.com
|
|
27
|
+
客户端默认连接 `https://api.xinbit.top/desktop-pet`(登录/注册门户仍由 `https://deskpalai.com` 提供),会自动推导 WebSocket、登录和更新接口。只有本地开发或私有部署时才需要设置 `DESKTOP_PET_HOST`(可含路径前缀)。应用内更新仅接受 HTTPS 地址。
|
|
28
|
+
|
|
29
|
+
打包发布时可通过环境变量覆盖官方地址(构建期内联,见 `src/shared/service-addresses.ts`):`DESKTOP_PET_SERVER_ROOT`(服务根)、`DESKTOP_PET_PORTAL_ORIGIN`(门户)、`DESKTOP_PET_LEGACY_HOSTS`(需无缝迁移的旧服务器 hostname,逗号分隔)。
|
|
28
30
|
|
|
29
31
|
首次启动后,在宠物右键菜单中选择“登录账号”或“注册账号”。
|
|
30
32
|
|