Your Android phone and your Windows PC, working as one. Local-first, end-to-end encrypted, no account.
CI: a lost stop for new mirrorings, and the webcam DLL in the build
Bee8d32f5106583
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex eb0f3e8..652c000 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -65,11 +65,11 @@ jobs:# Qt 6.12's repository layout needs a current aqtinstall.aqtsource: git+https://github.com/miurahr/aqtinstall.git- name: Clippy- run: cargo clippy --locked -p nectarlink-desktop -p s1-qt-rust --all-targets -- -D warnings+ run: cargo clippy --locked -p nectarlink-desktop -p nectarlink-vcam -p s1-qt-rust --all-targets -- -D warnings- name: Tests- run: cargo test --locked -p nectarlink-desktop+ run: cargo test --locked -p nectarlink-desktop -p nectarlink-vcam- name: Release build- run: cargo build --locked --release -p nectarlink-desktop+ run: cargo build --locked --release -p nectarlink-desktop -p nectarlink-vcam- name: Install NSISshell: pwshrun: |@@ -112,7 +112,7 @@ jobs:shell: pwshrun: |$env:QMAKE = ./scripts/qmake-arm64.ps1 -QtRoot (Split-Path -Parent $env:QT_ROOT_DIR)- cargo build --locked --release --target aarch64-pc-windows-msvc -p nectarlink-desktop+ cargo build --locked --release --target aarch64-pc-windows-msvc -p nectarlink-desktop -p nectarlink-vcamandroid:name: Android appdiff --git a/core/nectarlink-core/src/mirror.rs b/core/nectarlink-core/src/mirror.rsindex 35a4da9..101bf74 100644--- a/core/nectarlink-core/src/mirror.rs+++ b/core/nectarlink-core/src/mirror.rs@@ -176,8 +176,10 @@ pub(crate) async fn receive(shared: Arc<Shared>, peer: DeviceId, mut send: SendSlet Some(sink) = shared.platform.mirror_sink(&peer, mirroring) else {return refuse(send, recv);};- shared.emit(NodeEvent::Mirroring { device: peer, session: mirroring, on: true });+ // Ready to be stopped before anyone hears it's showing: a stop sent the+ // moment it appears must not be lost.let stopped = shared.new_mirror_stop(&peer, mirroring, mirror::OP_VIDEO);+ shared.emit(NodeEvent::Mirroring { device: peer, session: mirroring, on: true });sink.config(config);loop {let packet = tokio::select! {diff --git a/deny.toml b/deny.tomlindex 0afef26..a55ffe2 100644--- a/deny.toml+++ b/deny.toml@@ -35,6 +35,7 @@ confidence-threshold = 0.9exceptions = [{ crate = "nectarlink-cli", allow = ["GPL-3.0-or-later"] },{ crate = "nectarlink-desktop", allow = ["GPL-3.0-or-later"] },+ { crate = "nectarlink-vcam", allow = ["GPL-3.0-or-later"] },{ crate = "xtask", allow = ["GPL-3.0-or-later"] },{ crate = "s1-qt-rust", allow = ["GPL-3.0-or-later"] },]