Skip to content

Fix installer doing nothing when run through a symlink - #1

Merged
Master0fFate merged 1 commit into
mainfrom
fix-installer-symlink
Oct 11, 2026
Merged

Master0fFate merged 1 commit into
mainfrom
fix-installer-symlink

Conversation

@Master0fFate

Copy link
Copy Markdown
Owner

The installer checked whether it was the entrypoint by comparing argv[1] to its own path without resolving symlinks. npx and node_modules/.bin run it through a symlink on macOS and Linux, so it exited without doing anything. This is also why the macOS CI jobs failed in pack smoke. Restores the realpath check that 1.0.0 dropped and bumps to 1.0.1.

Comparing the raw argv path against import.meta.url fails when the script runs through a symlink, which is how npx and node_modules/.bin invoke it on macOS and Linux. The installer exited silently there. Bump to 1.0.1.
@Master0fFate
Master0fFate merged commit 18422ab into main Oct 11, 2026
7 checks passed
@Master0fFate
Master0fFate deleted the fix-installer-symlink branch October 11, 2026 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant