decred / Paymetheus

Decred wallet for Windows.
ISC License
12 stars 11 forks source link

Remove launcher and add functionality to paymetheus itself #288

Open jrick opened 7 years ago

jrick commented 7 years ago

I propose that we remove the launcher program and instead add a flag to paymetheus to start dcrd in the background.

This fixes a couple of problems with the current design:

  1. We could remove the rpc connection prompt at program start if started with the flag. Paymetheus knows that it is talking to a local dcrd since it started it, and it can use some random user/pass combo each time. Adding this to the command line arguments is a bad idea so it will need to write a config file instead.

  2. This would fix taskbar pinning. Currently when a user starts paymetheus using the launcher ("Decred') shortcut, the launcher spawns a paymetheus process and then hides its own window. When the user pins paymetheus to the taskbar, what they are actually pinning is the standalone paymetheus which is almost never what they intended to do.