Skip to content

v0.2.0 — cross-platform (Linux & Windows)

Choose a tag to compare

@Kingson4Wu Kingson4Wu released this 15 Jun 09:34
· 34 commits to main since this release
2f43c0b

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-send on 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 --once every main_interval minutes (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, then net-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