-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
options.bin should default to package.productName #118
Comments
Can you please include the configuration you are using for Nonetheless, I'm pretty sure that your problem is related to this #107 (comment)
|
In my Makefile:
That linked comment is extremely relevant, but I'm not sure it's right. We specifically want the executable to be |
No, the one to blame is EDIT: As other apps that work across all OSs. They still follow the convention. For example Headset has it's windows and mac installers named |
You're right, it's weird behaviour from In hindsight I should have used For the record, the README only talks about the package name there, not the executable name, so I wouldn't say it's clear. |
I guess we can make it clearer, I'll just add the same message to the |
FWIW I've been working on a change to Electron Packager to have a way to change the executable name separately. It's been a difficult change to do historically because of the way that Packager's code base has grown over time, but I think I can do it now without a breaking change. |
Not sure if this helps your use case, but see: electron/packager#758 |
@malept It won't help me now since I still want to keep it as |
What version of
electron-installer-debian
are you using?0.7.1
What version of
node
andnpm
are you using?6.12.0
5.5.1
What operating system are you using?
Arch Linux (surprisingly works)
Can you compile the example app successfully?
I can compile my own app.
What did you do? Please include the configuration you are using for
electron-installer-debian
.I didn't use any special config besides
src
/dest
/arch
. I configured my app forelectron-packager
by having an npm-style package name in thename
field (vivi
) of mypackage.json
, and a human-friendly name inproductName
(Vivi
). This makeselectron-packager
rename the electron binary to theproductName
, not thename
, i.e.Vivi-linux-x64/Vivi
.What did you expect to happen?
The generated
/usr/bin
symlink to point to the renamed executable.What actually happened?
It points to
vivi
instead ofVivi
, which is of course broken:I can set
options.bin
toVivi
, but it seems like it should default for me.The text was updated successfully, but these errors were encountered: