| 510 | |
| 511 | #ifdef WIN32 |
| 512 | fs::path static StartupShortcutPath() |
| 513 | { |
| 514 | std::string chain = gArgs.GetChainName(); |
| 515 | if (chain == CBaseChainParams::MAIN) |
| 516 | return GetSpecialFolderPath(CSIDL_STARTUP) / "Bitcoin.lnk"; |
| 517 | if (chain == CBaseChainParams::LIQUID1) |
| 518 | return GetSpecialFolderPath(CSIDL_STARTUP) / "Liquid.lnk"; |
| 519 | if (chain == CBaseChainParams::TESTNET) // Remove this special case when CBaseChainParams::TESTNET = "testnet4" |
| 520 | return GetSpecialFolderPath(CSIDL_STARTUP) / "Bitcoin (testnet).lnk"; |
| 521 | return GetSpecialFolderPath(CSIDL_STARTUP) / strprintf("Elements (%s).lnk", chain); |
| 522 | } |
| 523 | |
| 524 | bool GetStartOnSystemStartup() |
| 525 | { |
no test coverage detected