Fix autostart filenames on Linux

This commit is contained in:
Hennadii Stepanov 2019-07-12 19:01:05 +03:00
parent 735d6b57e7
commit ae311bc036
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

View file

@ -639,7 +639,7 @@ fs::path static GetAutostartFilePath()
std::string chain = gArgs.GetChainName();
if (chain == CBaseChainParams::MAIN)
return GetAutostartDir() / "bitcoin.desktop";
return GetAutostartDir() / strprintf("bitcoin-%s.lnk", chain);
return GetAutostartDir() / strprintf("bitcoin-%s.desktop", chain);
}
bool GetStartOnSystemStartup()