Closed cspiegel closed 4 years ago
Any idea where this Linux release is set up or packaged?
This is just the 64-bit Linux version from the releases page here. I looked through the source and didn't see anything generating the shell script, so I have to assume it's part of Electron, i.e. I'm guessing that there's some sort of Electron packaging step which automatically creates this script (I've never used Electron other than as an end-user). Unless someone knows offhand about Electron packaging on Linux, I can look into it and see if there's something to easily tune the package generation output.
That would be helpful. I'm actually kind of confused; when I unzip the file (Lectrote-1.3.3-linux-x64.zip) I don't see a "lectrote" shell script, and I'm not sure how one would get into /usr/bin.
Time for an embarrassing admission: it appears that I wrote my own /usr/bin/lectrote
script long ago and completely forgot that it wasn't part of the package when I upgraded to 1.3.3. So not only was I wrong about it coming with Lectrote, I also wrote it incorrectly in the first place. Apologies for the noise here!
Heh, no problem.
The Linux release of Lectrote has a wrapper script
/usr/bin/lectrote
which just calls out to/opt/lectrote/Lectrote
. However, this script does not pass arguments to/opt/lectrote/Lectrote
so you cannot call it as:Since
/opt/lectrote/Lectrote
does accept arguments, this wrapper ought to pass them along, i.e. instead ofthe script should be