mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-04 12:42:05 +02:00
Fix autostart filenames on Linux
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user