Skip to content

fix(desktop): abstract open_folder across platforms and clean up native_window.h - #37

Merged
thtbee merged 1 commit into
thtbee:mainfrom
saivinay1805:feature/macos-port
Oct 20, 2026
Merged

thtbee merged 1 commit into
thtbee:mainfrom
saivinay1805:feature/macos-port

Conversation

@saivinay1805

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #24 addressing the two minor cleanups noted in #24 (review comment #24 (comment)):

  • Photo Backup Folder Opening (desktop/app/src/bridge/photo_backup.rs): Replaced hard-coded explorer.exe invocation with platform-abstracted crate::win::shell::open_folder(&folder).
  • Window Header Cleanup (desktop/app/cpp/native_window.h): Removed the stray blank line left from the removed setScreenByName, matching main exactly.

Testing & Verification

  • cargo fmt --check && git diff --check: Clean
  • cargo clippy --all-targets -- -D warnings: 0 warnings
  • cargo test --bin nectarlink-desktop -- --skip overwrites_clipboard: 164 passed, 0 failed
  • cargo test -p nectarlink-core: 80 passed, 0 failed
  • cargo test -p nectarlink-protocol: 62 passed, 0 failed
  • Commit signed off with DCO (Signed-off-by: saivinay1805 <saivinayreddyvavilla@gmail.com>).

…ve_window.h

- Delegate photo backup folder opening to shell::open_folder across Windows (explorer.exe) and macOS (open)
- Remove stray blank line in native_window.h from removed setScreenByName

Signed-off-by: saivinay1805 <saivinayreddyvavilla@gmail.com>
@saivinay1805
saivinay1805 requested a review from thtbee as a code owner October 20, 2026 18:46

@thtbee thtbee left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, that's both of them.

@thtbee
thtbee merged commit 9829916 into thtbee:main Oct 20, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants