Files
UNITRONIX 26038176eb feat(desktop): add native BetterDesk Desktop core and release path
Introduce the independent Rust + Flutter desktop client with CDAP/RustDesk
session support, packaging via build.py, and tag-triggered Windows/Linux
release artifacts. Align server CDAP desktop interop (view_only, desktop_end,
capabilities), protocol docs, pre-release checklist, version bump rules, and
WAN allowlist for /api/health and /api/server/pubkey.

Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
2026-08-20 11:08:29 +02:00

16 lines
611 B
Rust

use std::{env, path::PathBuf};
fn main() {
let manifest_dir = PathBuf::from(env::var("CARGO_MANIFEST_DIR").expect("manifest directory"));
let proto_dir = manifest_dir.join("../betterdesk-server/protos");
let message = proto_dir.join("message.proto");
let rendezvous = proto_dir.join("rendezvous.proto");
println!("cargo:rerun-if-changed={}", message.display());
println!("cargo:rerun-if-changed={}", rendezvous.display());
prost_build::Config::new()
.compile_protos(&[message, rendezvous], &[proto_dir])
.expect("compile BetterDesk interoperability protobufs");
}