mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-24 12:44:18 +08:00
a8f7cda167
On macOS, the auto-launch library requires the .app bundle path (e.g., /Applications/CC Switch.app) rather than the binary path inside the bundle (e.g., .app/Contents/MacOS/CC Switch). Using the binary path directly causes AppleScript login items to open a terminal window. This fix extracts the .app bundle path from current_exe() on macOS, ensuring proper integration with macOS login items. Closes #375