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
{{ message }}
Repository navigation
Symlink with absolute path is packed incorrectly #366
Note that the extract symlink is relative to ~/e and so point to the wrong location /home/xxxxxx/e/home/xxxxxx/repro/hello.txt instead of /home/xxxxxx/repro/hello.txt
What version is this on? I don't recall making any changes to symlink logic in recent versions, but I'd like to triage when this issue was introduced (or if it was already existing)
Activity
mmaietta commentedon Apr 25, 2025
What version is this on? I don't recall making any changes to symlink logic in recent versions, but I'd like to triage when this issue was introduced (or if it was already existing)
curtisman commentedon Apr 25, 2025
I believe the bug is here:
asar/src/filesystem.ts
Line 180 in 4c1a547
path.resolveLook thru the blame, this commit likely introduced it: a9b4e7b
I tested out the version before this commit (3.2.8) and this particular repro works:
Result of
asar extractAnd v3.2.9 I can repro the above bug.
fix: resolve absolute symlink targets correctly when packing (electro…
electron-npm-package-publisher commentedon Jul 21, 2026
🎉 This issue has been resolved in version 4.2.1 🎉
The release is available on:
Your semantic-release bot 📦🚀