v0.2.0 — cross-platform (Linux & Windows)
The Clash node auto-switch core now runs on Linux and Windows, with a native background service on each platform.
Added
- Cross-platform core — the Clash selection/switching loop only talks to the Clash Verge API over HTTP, so it runs on Linux/Windows too. macOS-only features degrade gracefully: WiFi switching and profile fallback are skipped off macOS; notifications use
notify-sendon Linux, no-op on Windows. (ADR-0015) service install / uninstall / status— one command, platform-native: launchd (macOS), systemd--user(Linux,Restart=always+ linger), Task Scheduler running--onceeverymain_intervalminutes (Windows). (ADR-0016)- CI matrix across ubuntu + macos + windows.
Notes
- macOS behavior is unchanged.
- On Linux/Windows: copy
config.example.toml→config.toml, fill in your Clash API settings, thennet-auto-switch service install.
Install / update
curl -fsSL https://raw.githubusercontent.com/OctopusGarage/net-auto-switch/main/install.sh | bash
Full Changelog: v0.1.0...v0.2.0