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:
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.
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.
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:
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.
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.