You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: locate running binary via execPath instead of argv[0] (#16)
In a Bun single-file executable, process.argv[0] is the literal "bun",
not the executable path. `rb update` therefore failed with "cannot
locate current binary at bun", and the macOS quarantine check in
`rb doctor` misresolved the same way.
Resolve the path via process.execPath (the compiled binary) through a
shared getBinPath() helper used by both update and doctor. Verified
end-to-end on a windows-x64 standalone build: update now locates itself,
downloads, checksum-verifies, and swaps successfully.
0 commit comments