|
|
@ -354,7 +354,10 @@ boost::filesystem::path static GetAutostartDir() |
|
|
|
|
|
|
|
|
|
|
|
boost::filesystem::path static GetAutostartFilePath() |
|
|
|
boost::filesystem::path static GetAutostartFilePath() |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
std::string chain = ChainNameFromCommandLine(); |
|
|
|
|
|
|
|
if (chain == CBaseChainParams::MAIN) |
|
|
|
return GetAutostartDir() / "bitcoin.desktop"; |
|
|
|
return GetAutostartDir() / "bitcoin.desktop"; |
|
|
|
|
|
|
|
return GetAutostartDir() / strprintf("bitcoin-%s.lnk", chain); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
bool GetStartOnSystemStartup() |
|
|
|
bool GetStartOnSystemStartup() |
|
|
|