| 595 | } |
| 596 | |
| 597 | fs::path static GetAutostartFilePath() |
| 598 | { |
| 599 | std::string chain = gArgs.GetChainName(); |
| 600 | if (chain == CBaseChainParams::MAIN) |
| 601 | return GetAutostartDir() / "bitcoin.desktop"; |
| 602 | if (chain == CBaseChainParams::LIQUID1) |
| 603 | return GetAutostartDir() / "liquid.desktop"; |
| 604 | return GetAutostartDir() / strprintf("elements-%s.desktop", chain); |
| 605 | } |
| 606 | |
| 607 | bool GetStartOnSystemStartup() |
| 608 | { |
no test coverage detected