Skip to content

Port upstream #558: Windows desktop/sidecar support - #5

Open
bruno320x wants to merge 6 commits into
bruno320x:integration/upstream-prsfrom
slvnlrt:spaceui
Open

bruno320x wants to merge 6 commits into
bruno320x:integration/upstream-prsfrom
slvnlrt:spaceui

Conversation

@bruno320x

Copy link
Copy Markdown
Owner

Compatibility test/port of spacedriveapp#558 onto integration/upstream-prs. If core daemon changes conflict, desktop-specific fixes will be ported separately rather than replacing newer fork runtime code.

slvnlrt added 6 commits June 20, 2026 22:05
- Make daemonize and libc unix-only deps, add windows-sys for Windows
- Split daemon.rs into unix/windows modules with cfg guards
- Add Windows GetDiskFreeSpaceExW impl for disk usage in system.rs
- Guard Unix permissions in ssh.rs with cfg(unix)
- Force foreground mode on Windows in main.rs
- Set target-dir to SSD for faster builds
- Add icon.ico generated from Spacebot-iOS-Default asset (required for Windows RC)
- Rename desktop binary from Spacebot to spacebot-desktop to avoid NTFS
  case-insensitive collision with the spacebot sidecar binary
The sidecar is launched via command.spawn() not command.execute(), so the
scope must be under shell:allow-spawn for Tauri to authorize it.
In dev mode, Tauri resolves sidecars relative to the desktop executable.
The sidecar lives in src-tauri/binaries/ but needs to be next to the exe
in the target dir. Copy it in build.rs with timestamp comparison to only
recopy when the source is newer.
Previously, sidecar crashes showed only the exit code with no details.
Add onStderr handler to BundledProcessHandlers and display the last 20
stderr lines in the error message when the process exits unexpectedly.
@coderabbitai

coderabbitai Bot commented Sep 15, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: b5a174f1-0c87-42e9-8912-d1f4f348173c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-09-15T13:27:25.297251Z 21022a9 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch has not been deployed

No deployments
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