Skip to content

v1.0.5

Choose a tag to compare

@kimalex415 kimalex415 released this 16 Apr 22:05
· 1 commit to main since this release

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