diff --git a/Cargo.lock b/Cargo.lock index 107641e..196016e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2487,7 +2487,7 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uu-remote-linux" -version = "0.1.0" +version = "0.1.1" dependencies = [ "base64 0.22.1", "bytes", diff --git a/Cargo.toml b/Cargo.toml index b64ed29..f28a3e5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uu-remote-linux" -version = "0.1.0" +version = "0.1.1" edition = "2021" authors = ["uu-remote-linux contributors"] description = "Unofficial Linux host for NetEase UU Remote: control a Linux desktop from the official clients" diff --git a/docs/release-notes/v0.1.1.md b/docs/release-notes/v0.1.1.md new file mode 100644 index 0000000..a7a8f04 --- /dev/null +++ b/docs/release-notes/v0.1.1.md @@ -0,0 +1,18 @@ +修复版本。/ Bug-fix release. + +### 修复 / Fixed +- 传入无法识别的参数(例如手误或 `--version`)时,程序不再在已运行的服务旁边再启动一个完整的被控端, + 而是打印用法并以退出码 2 结束;`help` / `-h` / `--help` 显示用法。 + An unrecognized argument (a typo, `--version`, ...) no longer starts a second full host next to the running + service; it prints usage and exits with code 2. `help` / `-h` / `--help` print usage. + +### 文档 / Docs +- 新增 [AGENTS.md](https://github.com/VallierDev/uu-remote-linux/blob/v0.1.1/AGENTS.md):写给 Claude Code、Codex、Cursor 等 AI 编程工具的指南, + 包含编译安装步骤、代码地图、协议要点和开发规范。 + New AGENTS.md: a guide for AI coding agents with build/install steps, a code map, protocol notes and rules. + +### 下载 / Download +`uu-remote-linux-v0.1.1-x86_64-linux.tar.gz`:X11 版可执行文件(x86_64,glibc ≥ 2.35,例如 Ubuntu 22.04+)。 +Wayland 支持仍为实验性,需要从源码编译。安装步骤见 README。 + +**非官方项目,与网易无关。** / **Unofficial, not affiliated with NetEase.** diff --git a/src/main.rs b/src/main.rs index 60d986a..65795fe 100644 --- a/src/main.rs +++ b/src/main.rs @@ -166,7 +166,7 @@ async fn main() -> Result<(), Box> { if login::run(gui).await.is_err() { std::process::exit(1); } // error already shown return Ok(()); } - log::info!("Starting UU Remote Pure Native Rust Server v1.0.0..."); + log::info!("Starting uu-remote-linux host v{}...", env!("CARGO_PKG_VERSION")); let mut capture = Arc::new((if desktop_backend::detect()?==desktop_backend::DesktopBackend::Portal && std::env::var("UU_PORTAL_PREAUTHORIZE").ok().as_deref()!=Some("1") {