Files
crossdesk-server/README.md
2025-10-20 01:30:28 +08:00

46 lines
870 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# CrossDesk Server
[English](README.md) / [中文](README_CN.md)
为 [CrossDesk](https://github.com/kunkundi/crossdesk) 设计的服务端支持WSS加密连接使用SQLite3存储用户信息。
[License: LGPL-3.0](LICENSE) | [Platform: Windows | Linux | macOS]
---
## 如何编译
依赖:
- [xmake](https://xmake.io/#/guide/installation)
编译
```
git clone https://github.com/kunkundi/crossdesk-server.git
cd crossdesk-server
xmake b crossdesk_server
```
## 关于 Xmake
#### 编译选项
```
# 切换编译模式
xmake f -m debug/release
# 可选编译参数
-r :重新构建目标
-v :显示详细的构建日志
-y :自动确认提示
# 示例
xmake b -vy crossdesk_server
```
更多使用方法可参考 [Xmake官方文档](https://xmake.io/guide/quick-start.html) 。
## 构建镜像
```
cd docker
sudo docker build -t image-name .
```