Fix autostart filenames on Linux

pull/764/head
Hennadii Stepanov 5 years ago
parent 735d6b57e7
commit ae311bc036
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

@ -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()

Loading…
Cancel
Save