Wire-desktop: Wire Linux Process Name

Created on 31 Oct 2016  ·  15Comments  ·  Source: wireapp/wire-desktop

The binary executeable and the processname under Linux use a capital W.
It should be "wire" not "Wire".

Linux 🐧

All 15 comments

This is not a perfect solution, but if you are using the Debian packages, you can symlink to the /usr/bin directory:

# ln -s /opt/Wire/Wire /usr/bin/wire

If the general convention says lowercase we should update our build scripts accordingly..

Looks like electron-packager defaults to using productName. You can change the executable name using electron-builder by passing the flag --em.productName=wire. The only issue is that the "Wire" menu on Linux is also changed to "wire", so we'd have to change that menu title as well.

I see that there is a "name" option that can be passed to electron-packager, but couldn't figure out if it would work with electron-builder. See: https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#name

I wonder if @develar can provide any insight into this issue. That is, is it possible to change the name of the executable on Linux without changing productName?

🎆 Much appreciated @develar :)

Update to electron-builder 7.21.0 to fix issue. name is used by default.

BTW, why you still depends on electron-packager?

So what do I have to change now in order to have process name fixed?

@develar As for the electron-packager we were using that for Windows, macOS, MAS and it works smoothly at the moment with the Squirrel and everything.. I tried to do something quick.. but things start breaking fast :D So maybe in the future.. we might need your help there :) Gruntfile.coffee

So what do I have to change now in order to have process name fixed?

Nothing. Just set electron-builder version to 7.21.0

Sweet! #151

@lipis, just a head's-up: users are going to have to re-login, because the config directory changes from Wire to wire. This could leave data behind when a user logs out because the old folder will still exist.

Thanks for the headsup.. It will be a bit tricky to start adding those things now in the experimental version of Wire for Linux.. so unfortunately that will happen now :/

Ooops, nevermind! The config directory is still $HOME/.config/Wire.
Ignore me. I was seeing something unrelated and jumped to conclusions. Sorry!

Was this page helpful?
0 / 5 - 0 ratings