Browse Source

Bugfix: Use unique autostart filenames on Linux for testnet/regtest

0.13
Luke Dashjr 9 years ago
parent
commit
2aa49ce9fe
  1. 3
      src/qt/guiutil.cpp

3
src/qt/guiutil.cpp

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

Loading…
Cancel
Save