Your Android phone and your Windows PC, working as one. Local-first, end-to-end encrypted, no account.
Installer smoke test ends cleanly; media test waits for the state it checks
Bee83ed913e4a2e
diff --git a/README.md b/README.mdindex e8f29af..947d1f8 100644--- a/README.md+++ b/README.md@@ -99,9 +99,12 @@ place and tested; the user-facing features of Phase 1 come next.uses about 10 MB of memory (as shown in Task Manager).- **Android app**: pairing, home and settings, Material You colors, a backgroundconnection service, and an identity key protected by the Android Keystore.+- **Windows installer**: installs for everyone on the PC, allows the app+ through Windows Firewall, starts it with Windows, and uninstalls cleanly.+ Each `v*` tag drafts a GitHub release with the installer.- **Command-line client** for development and testing (`nectarlink`).-**Next (Phase 1)**: a Windows installer. Mirroring, messages, calls and the other+**Next**: Phase 1 is complete. Mirroring, messages, calls and the otherfeatures in the plan follow in later phases.## Screenshots@@ -193,6 +196,13 @@ cd android./gradlew assembleDebug```+**Windows installer** (with [NSIS](https://nsis.sourceforge.io) installed)++```powershell+./scripts/package.ps1 # target\package\Nectarlink-<version>-x64-setup.exe+./scripts/package.ps1 -StageOnly # just the app folder, as it ships+```+**All checks** (formatting, lints, tests, license headers, generated files,dependency policy), as CI runs them:diff --git a/core/nectarlink-core/tests/two_devices.rs b/core/nectarlink-core/tests/two_devices.rsindex b02e0b3..6d6688c 100644--- a/core/nectarlink-core/tests/two_devices.rs+++ b/core/nectarlink-core/tests/two_devices.rs@@ -698,7 +698,11 @@ async fn media_is_shared_and_controlled_with_consent() {let players = wait_for(&mut pc, "same art", media_of(phone_id)).await;assert_eq!((players[0].art_key.as_deref(), players[0].art.as_ref()), (Some("a1"), None));phone.node.media_changed(vec![player("com.music", "Next song", Some(("a2", vec![9; 10])))]).await;- let players = wait_for(&mut pc, "new art", media_of(phone_id)).await;+ // (A state sent as the session started may arrive in between.)+ let players = wait_for(&mut pc, "new art", |e| {+ media_of(phone_id)(e).filter(|p| p.first().is_some_and(|p| p.title.as_deref() == Some("Next song")))+ })+ .await;assert_eq!(players[0].art.as_deref(), Some(&[9; 10][..]));// The PC controls it.diff --git a/scripts/smoke-installer.ps1 b/scripts/smoke-installer.ps1index 36f69cc..c368162 100644--- a/scripts/smoke-installer.ps1+++ b/scripts/smoke-installer.ps1@@ -47,3 +47,5 @@ Check "the uninstall entry is gone" (-not (Test-Path $uninstallKey))Check "the Start menu shortcut is gone" (-not (Test-Path $shortcut))Check "the firewall rule is gone" (-not (FirewallRule))Write-Host "Installer smoke test passed."+# netsh reports "no rules match" with a failing exit code; that was the point.+exit 0