From 8222782522534ae6345c8b5ad728ba4c9b23f8c2 Mon Sep 17 00:00:00 2001 From: dijunkun Date: Tue, 21 Oct 2025 20:54:37 +0800 Subject: [PATCH 1/4] [chore] update README --- README.md | 2 +- README_EN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c384f5f..6937464 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20Linux%20%7C%20macOS-lightgrey.svg)]() [![License: LGPL v3](https://img.shields.io/badge/License-LGPL%20v3-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0) [![GitHub last commit](https://img.shields.io/github/last-commit/kunkundi/crossdesk)](https://github.com/kunkundi/crossdesk/commits/self-hosted-server) -[![Build Status](https://github.com/kunkundi/crossdesk/actions/workflows/build.yaml/badge.svg)](https://github.com/kunkundi/crossdesk/actions) +[![Build Status](https://github.com/kunkundi/crossdesk/actions/workflows/build.yml/badge.svg)](https://github.com/kunkundi/crossdesk/actions) [![Docker Pulls](https://img.shields.io/docker/pulls/crossdesk/crossdesk-server)](https://hub.docker.com/r/crossdesk/crossdesk-server/tags) [![GitHub issues](https://img.shields.io/github/issues/kunkundi/crossdesk.svg)]() [![GitHub stars](https://img.shields.io/github/stars/kunkundi/crossdesk.svg?style=social)]() diff --git a/README_EN.md b/README_EN.md index 6889f5d..cd97f39 100644 --- a/README_EN.md +++ b/README_EN.md @@ -3,7 +3,7 @@ [![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20Linux%20%7C%20macOS-lightgrey.svg)]() [![License: LGPL v3](https://img.shields.io/badge/License-LGPL%20v3-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0) [![GitHub last commit](https://img.shields.io/github/last-commit/kunkundi/crossdesk)](https://github.com/kunkundi/crossdesk/commits/self-hosted-server) -[![Build Status](https://github.com/kunkundi/crossdesk/actions/workflows/build.yaml/badge.svg)](https://github.com/kunkundi/crossdesk/actions) +[![Build Status](https://github.com/kunkundi/crossdesk/actions/workflows/build.yml/badge.svg)](https://github.com/kunkundi/crossdesk/actions) [![Docker Pulls](https://img.shields.io/docker/pulls/crossdesk/crossdesk-server)](https://hub.docker.com/r/crossdesk/crossdesk-server/tags) [![GitHub issues](https://img.shields.io/github/issues/kunkundi/crossdesk.svg)]() [![GitHub stars](https://img.shields.io/github/stars/kunkundi/crossdesk.svg?style=social)]() From c7411b59f12902b39f3e7bb76867537ec1505fa1 Mon Sep 17 00:00:00 2001 From: dijunkun Date: Tue, 21 Oct 2025 22:51:21 +0800 Subject: [PATCH 2/4] [chore] update README --- README.md | 4 ++-- README_EN.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6937464..41697d9 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ xmake r crossdesk ### 无 CUDA 环境下的开发支持 -对于未安装 **CUDA 环境** 的 Linux 开发者,这里提供了预配置的 [Ubuntu 22.04 Docker 镜像](https://hub.docker.com/r/crossdesk/ubuntu22.04)。该镜像内置必要的构建依赖,可在容器中开箱即用,无需额外配置即可直接编译项目。 +对于**未安装 CUDA 环境的 Linux 开发者**,这里提供了预配置的 [Ubuntu 22.04 Docker 镜像](https://hub.docker.com/r/crossdesk/ubuntu22.04)。该镜像内置必要的构建依赖,可在容器中开箱即用,无需额外配置即可直接编译项目。 进入容器,下载工程后执行: ``` @@ -75,7 +75,7 @@ export XMAKE_GLOBALDIR=/data xmake b --root -vy crossdesk ``` -对于未安装 **CUDA 环境** 的 Windows 开发者,执行下面的命令安装 CUDA 编译环境: +对于**未安装 CUDA 环境的 Windows 开发者**,执行下面的命令安装 CUDA 编译环境: ``` xmake require -vy "cuda 12.6.3" ``` diff --git a/README_EN.md b/README_EN.md index cd97f39..64669f1 100644 --- a/README_EN.md +++ b/README_EN.md @@ -65,7 +65,7 @@ xmake r crossdesk #### Development Without CUDA Environment -For **Linux** developers who do not have a **CUDA environment** installed, a preconfigured [Ubuntu 22.04 Docker image](https://hub.docker.com/r/crossdesk/ubuntu22.04) is provided. +For **Linux developers who do not have a CUDA environment** installed, a preconfigured [Ubuntu 22.04 Docker image](https://hub.docker.com/r/crossdesk/ubuntu22.04) is provided. This image comes with all required build dependencies and allows you to build the project directly inside the container without any additional setup. After entering the container, download the project and run: @@ -76,7 +76,7 @@ export XMAKE_GLOBALDIR=/data xmake b --root -vy crossdesk ``` -For **Windows** developers without a **CUDA environment** installed, run the following command to install the CUDA build environment: +For **Windows developers without a CUDA environment** installed, run the following command to install the CUDA build environment: ``` xmake require -vy "cuda 12.6.3" ``` From 0ef51e3faf2ff2273c6223dc5590523e9de3706d Mon Sep 17 00:00:00 2001 From: dijunkun Date: Thu, 23 Oct 2025 10:33:39 +0800 Subject: [PATCH 3/4] [feat] add FAQ.md --- docs/FAQ.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/FAQ.md diff --git a/docs/FAQ.md b/docs/FAQ.md new file mode 100644 index 0000000..45db2cb --- /dev/null +++ b/docs/FAQ.md @@ -0,0 +1,33 @@ +# 常见问题(FAQ) + +欢迎来到 **CrossDesk 常见问题** 页面! +这里整理了用户和开发者最常见的一些疑问。如果你没有找到答案,欢迎在 [Issues](https://github.com/kunkundi/crossdesk/issues) 中反馈。 + +--- + +### Q1. 对等连接失败 +**A:** +打开设置,勾选 **启用中继服务** 选项,尝试重新发起连接。 + +Image + +由于公共中继服务器带宽较小,连接的清晰度流畅度可能会下降,建议自建服务器。 [Issue #8](https://github.com/kunkundi/crossdesk/issues/8) + +### Q2. Windows 无 CUDA 环境下编译 +**A:** +运行下面的命令安装 CUDA 编译环境。 +``` +xmake require -vy "cuda 12.6.3" +``` +安装完成后执行 +``` +xmake require --info "cuda 12.6.3" +``` +输出如下 + +Image + +根据上述输出获取到 CUDA 的安装目录,即 installdir 指向的位置。将 CUDA_PATH 加入系统环境变量,或在终端中输入 set CUDA_PATH=path_to_cuda_installdir,重新执行 xmake b -vy crossdesk 即可。 +[Issue #6](https://github.com/kunkundi/crossdesk/issues/6) + +--- \ No newline at end of file From 17f95364768d51cf5f7f88a505be5b7cdda1f2ff Mon Sep 17 00:00:00 2001 From: dijunkun Date: Thu, 23 Oct 2025 10:37:45 +0800 Subject: [PATCH 4/4] [chore] update README --- README.md | 3 +++ README_EN.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 41697d9..348ad6e 100644 --- a/README.md +++ b/README.md @@ -295,3 +295,6 @@ Generation complete. Deployment files:: 7. 勾选使用**自托管服务器配置**,点击确认配置生效。

image

+ +# 常见问题 +见 [常见问题](https://github.com/kunkundi/crossdesk/blob/self-hosted-server/docs/FAQ.md) 。 \ No newline at end of file diff --git a/README_EN.md b/README_EN.md index 64669f1..b68158d 100644 --- a/README_EN.md +++ b/README_EN.md @@ -300,3 +300,6 @@ Place **crossdesk.cn.key** and **crossdesk.cn_bundle.crt** into the **/path/to/y 4. Check the option to use **Self-Hosted Server Configuration**.

image

+ +# FAQ +See [FAQ](https://github.com/kunkundi/crosssesk/blob/self-hosted-server/docs/FAQ.md) . \ No newline at end of file