Skip to content

fix: should warn npcap installation on windows. - #1

Merged
BeiChenStanly merged 5 commits into
mainfrom
windows_napcp
Jul 4, 2026
Merged

BeiChenStanly merged 5 commits into
mainfrom
windows_napcp

Conversation

@BeiChenStanly

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings July 4, 2026 08:14
@BeiChenStanly BeiChenStanly changed the title fix: windows warn napcp installation. fix: windows warn npcsp installation. Jul 4, 2026
@BeiChenStanly BeiChenStanly changed the title fix: windows warn npcsp installation. fix: windows warn npcap installation. Jul 4, 2026
@BeiChenStanly BeiChenStanly changed the title fix: windows warn npcap installation. fix: should warn npcap installation on windows. Jul 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR improves the developer/user experience around the embedded EasyTier component by adding an early failure hint for common Windows dependency issues (Npcap/packet.dll), and by adjusting how the EasyTier release archive is sourced and repackaged during build.

Changes:

  • Add a short post-spawn health check in EasyTier::start() to detect immediate exits and log actionable Windows/Npcap guidance.
  • Enhance build.rs to optionally use a locally provided EasyTier zip and to repack zip contents by iterating archive entries.
  • Add a rust-toolchain file to standardize builds on the stable Rust toolchain.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
src/easytier.rs Adds an early “exited immediately” health check and logs Windows/Npcap guidance when EasyTier fails to start.
build.rs Adds support for using a local EasyTier zip and changes repackaging to iterate over zip entries.
rust-toolchain Pins the project to the stable Rust toolchain.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/easytier.rs Resolved
Comment thread src/easytier.rs Resolved
Comment thread build.rs Resolved
BeiChenStanly and others added 4 commits July 4, 2026 16:18
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@BeiChenStanly
BeiChenStanly merged commit 0412e28 into main Jul 4, 2026
6 checks passed
@BeiChenStanly
BeiChenStanly deleted the windows_napcp branch July 4, 2026 08:28
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