ClashBar 简体中文

ClashBar GitHub

Last updated:

The Sitoi/ClashBar repository on GitHub contains the source code and project README. Visit GitHub Releases to read version notes, or use the table below to find a macOS DMG and its matching SHA-256 checksum.

List of ClashBar GitHub Repositories

Latest ClashBar GitHub Releases

ClashBar 0.3.6
FileSizeDownload
macOS · Apple Silicon · DMG disk image · Core not includedClashBar-0.3.6-apple-silicon-no-core.dmg1.57 MiBOfficialMirror
File checksums (verify downloaded files)ClashBar-0.3.6-apple-silicon-no-core.dmg.sha256107 BOfficialMirror
macOS · Apple Silicon · DMG disk imageClashBar-0.3.6-apple-silicon.dmg21.16 MiBOfficialMirror
File checksums (verify downloaded files)ClashBar-0.3.6-apple-silicon.dmg.sha25699 BOfficialMirror
macOS · x86_64 · DMG disk image · Core not includedClashBar-0.3.6-intel-no-core.dmg1.64 MiBOfficialMirror
File checksums (verify downloaded files)ClashBar-0.3.6-intel-no-core.dmg.sha25699 BOfficialMirror
macOS · x86_64 · DMG disk imageClashBar-0.3.6-intel.dmg22.28 MiBOfficialMirror
File checksums (verify downloaded files)ClashBar-0.3.6-intel.dmg.sha25691 BOfficialMirror
Changelog

What's New

> This update is a system proxy Helper installation fix for v0.3.5: it fixes an issue where, when installed from a downloaded .dmg, the Helper binary and LaunchDaemon plist installed with administrator authorization still carried the com.apple.quarantine attribute and were refused by the system with "Launch Constraint Violation / Refusing to execute quarantined file", resulting in "Helper is authorized but turning on the system proxy toggle has no effect"; it also fixes a flaw where the install script swallowed bootstrap / kickstart failures yet still wrote the "installed" version marker, so the broken state could not be retried automatically. The Helper version number is also bumped to 2, and old broken installations will be forcibly reinstalled to recover.

📝 Changelog

🚀 Improvements

  • Failed installs no longer write a success marker: under set -e, the install script now makes launchctl bootstrap (on failure, bootout first and retry once) and kickstart hard failures, and puts the version marker echo as the last step — if any loading step fails, it exits with a non-zero status and passes the raw stderr back to the App without writing the version file, ensuring the next launch can re-trigger installation recovery instead of being permanently locked in an "installed but not working" state.
  • Installation status check now includes the quarantine attribute: in addition to comparing the version and verifying that the binary is executable and the plist exists, installedHelperIsCurrent() now also checks the com.apple.quarantine attribute on both target files; if either file still carries the quarantine attribute, it is treated as "not correctly installed" and the authorized installation flow runs again automatically.

🐞 Bug Fixes

  • Helper still carrying the quarantine attribute after installation, causing the system proxy to not take effect: fixes an issue in v0.3.5 where the files installed with administrator authorization to /Library/PrivilegedHelperTools/com.clashbar.helper and /Library/LaunchDaemons/com.clashbar.helper.plist still retained com.apple.quarantine. The root cause is that files created by a quarantined .app (the download-and-install scenario) have the quarantine attribute re-applied by the kernel, so relying only on cp -X not copying the source xattrs is not enough; now, after copying, xattr -c + xattr -d com.apple.quarantine are run explicitly to clear the quarantine attribute, and this is verified before bootstrap — if it still remains, the script fails and exits immediately, no longer letting a Helper that the system refuses to load silently leave an "installed" marker.

What's Changed

Full Changelog: https://github.com/Sitoi/ClashBar/compare/v0.3.2...v0.3.6

Full release notes (GitHub)