| 508 | |
| 509 | #ifdef WIN32 |
| 510 | fs::path static StartupShortcutPath() |
| 511 | { |
| 512 | ChainType chain = gArgs.GetChainType(); |
| 513 | if (chain == ChainType::MAIN) |
| 514 | return GetSpecialFolderPath(CSIDL_STARTUP) / "Bitcoin.lnk"; |
| 515 | if (chain == ChainType::TESTNET) // Remove this special case when testnet CBaseChainParams::DataDir() is incremented to "testnet4" |
| 516 | return GetSpecialFolderPath(CSIDL_STARTUP) / "Bitcoin (testnet).lnk"; |
| 517 | return GetSpecialFolderPath(CSIDL_STARTUP) / fs::u8path(strprintf("Bitcoin (%s).lnk", ChainTypeToString(chain))); |
| 518 | } |
| 519 | |
| 520 | bool GetStartOnSystemStartup() |
| 521 | { |
no test coverage detected