docs: 同步 macOS 安装说明到中英文 Wiki

docs: 补齐中英文 Wiki 的 macOS 自签名步骤
This commit is contained in:
Margrop
2026-10-30 12:36:31 +08:00
committed by GitHub
2 changed files with 20 additions and 2 deletions

View File

@@ -125,4 +125,13 @@ Dockerfile 在镜像内执行 Vitest、脚本语法检查和生产构建,并
| 安卓手机 / 平板(单机版) | 安装 `WrongNotebook-Android-Phone-<版本>.apk` 或 `WrongNotebook-Android-Tablet-<版本>.apk` | App 私有目录,卸载时删除 |
| 安卓手机 / 平板(客户端) | 安装 `WrongNotebook-Android-Client-Phone-<版本>.apk` 或 `-Client-Tablet-<版本>.apk`,首次打开填写服务器地址 | 不保存数据,连接已部署的服务器 |
桌面版只监听本机,默认端口 39300;飞牛OS 版监听 39300 端口,局域网内可访问。数据库、AI 配置和会话密钥都在数据目录中,备份时整体复制该目录。桌面安装包未签名,macOS 首次打开需右键选择「打开」。安卓单机版在手机上运行服务端,无需另行部署,需要 Android 8.0 及以上的 64 位 ARM 设备;安卓客户端版只是连接服务器的外壳,需要先用上面任一方式部署服务端。详细说明见 [INSTALL_PACKAGES.md](https://github.com/margrop/wrong-notebook/blob/main/doc/INSTALL_PACKAGES.md)。
桌面版只监听本机,默认端口 39300;飞牛OS 版监听 39300 端口,局域网内可访问。数据库、AI 配置和会话密钥都在数据目录中,备份时整体复制该目录。
桌面安装包未签名。macOS 提示「已损坏」或无法打开时,先把应用拖入「应用程序」,再在终端执行以下命令,移除隔离属性并在本机重新自签名,然后打开应用:
```bash
xattr -cr /Applications/WrongNotebook.app
codesign --force --deep --sign - /Applications/WrongNotebook.app
```
安卓单机版在手机上运行服务端,无需另行部署,需要 Android 8.0 及以上的 64 位 ARM 设备;安卓客户端版只是连接服务器的外壳,需要先用上面任一方式部署服务端。详细说明见 [INSTALL_PACKAGES.md](https://github.com/margrop/wrong-notebook/blob/main/doc/INSTALL_PACKAGES.md)。

View File

@@ -125,4 +125,13 @@ Every release on [Releases](https://github.com/margrop/wrong-notebook/releases)
| Android phone / tablet (standalone) | Install `WrongNotebook-Android-Phone-<version>.apk` or `WrongNotebook-Android-Tablet-<version>.apk` | App-private directory, removed on uninstall |
| Android phone / tablet (client) | Install `WrongNotebook-Android-Client-Phone-<version>.apk` or `-Client-Tablet-<version>.apk` and enter the server address on first launch | Stores no data; connects to a deployed server |
Desktop builds listen only on the local machine, on port 39300 by default; the fnOS build listens on port 39300 and is reachable on the LAN. The database, AI configuration and session secret all live in the data directory, so back up the whole directory. Desktop installers are unsigned; on macOS, right-click and choose "Open" the first time. The Android standalone edition runs the server on the phone with no separate deployment and needs a 64-bit ARM device on Android 8.0 or later; the Android client edition is only a shell that connects to a server, which must first be deployed with one of the methods above. See [INSTALL_PACKAGES.md](https://github.com/margrop/wrong-notebook/blob/main/doc/INSTALL_PACKAGES.md) for details.
Desktop builds listen only on the local machine, on port 39300 by default; the fnOS build listens on port 39300 and is reachable on the LAN. The database, AI configuration and session secret all live in the data directory, so back up the whole directory.
Desktop installers are unsigned. If macOS says the app is damaged or cannot be opened, first move it to Applications, then run these commands in Terminal to remove the quarantine flag and re-sign it locally before opening it:
```bash
xattr -cr /Applications/WrongNotebook.app
codesign --force --deep --sign - /Applications/WrongNotebook.app
```
The Android standalone edition runs the server on the phone with no separate deployment and needs a 64-bit ARM device on Android 8.0 or later; the Android client edition is only a shell that connects to a server, which must first be deployed with one of the methods above. See [INSTALL_PACKAGES.md](https://github.com/margrop/wrong-notebook/blob/main/doc/INSTALL_PACKAGES.md) for details.