make notray no more, use --tray if you want to run the gui as a tray icon
This commit is contained in:
parent
ce1ad4a53f
commit
f76790683e
|
@ -29,11 +29,11 @@ int32_t main(int32_t argc, char *argv[])
|
|||
|
||||
// crude CLI option parsing
|
||||
bool nohide = false;
|
||||
bool notray = false;
|
||||
bool notray = true;
|
||||
for (int i=0; argv[i] != nullptr; ++i) {
|
||||
std::string arg = argv[i];
|
||||
if (arg == "--nohide" || arg == "--no-hide") nohide = true;
|
||||
if (arg == "--notray" || arg == "--no-tray") notray = true;
|
||||
if (arg == "--tray") notray = false;
|
||||
if (arg == "--rpc" and argv[i+1] != nullptr)
|
||||
{
|
||||
RPCURL = argv[i+1];
|
||||
|
|
Loading…
Reference in New Issue