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