Repository navigation
v1.0.5
Bug fix: smack start now works from any directory.
Root cause: Bundle.main.executablePath resolves relative to CWD for standalone Swift binaries, returning e.g. $CWD/smack instead of the actual install path. This caused a NSCocoaErrorDomain Code=4 error on start.
Fix: replaced with _NSGetExecutablePath() which reads the binary path from the kernel, making it correct regardless of working directory.
Install / update:
curl -fsSL https://raw.githubusercontent.com/kimalex415/smack-attack/main/install.sh | bash