fix: restore Linux executableName -- productFilename broke it #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/afterpack-linux-regression"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PR #5 fixed Windows (confirmed: real Slash.exe produced) but broke Linux in the same stroke -- unifying onto appInfo.productFilename works for win32/darwin but Linux's real unpacked binary is lowercase ("slash"), not "Slash".
Confirmed against electron-builder's own source (platformPackager.js, getElectronDestinationPath): it uses packager.executableName for LinuxPackager instances specifically, appInfo.productFilename for everything else. Restored that exact split instead of a one-size-fits-all property.