MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / GetAutostartFilePath

Function GetAutostartFilePath

src/qt/guiutil.cpp:593–599  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

591}
592
593fs::path static GetAutostartFilePath()
594{
595 ChainType chain = gArgs.GetChainType();
596 if (chain == ChainType::MAIN)
597 return GetAutostartDir() / "bitcoin.desktop";
598 return GetAutostartDir() / fs::u8path(strprintf("bitcoin-%s.desktop", ChainTypeToString(chain)));
599}
600
601bool GetStartOnSystemStartup()
602{

Callers 2

GetStartOnSystemStartupFunction · 0.85
SetStartOnSystemStartupFunction · 0.85

Calls 4

GetAutostartDirFunction · 0.85
u8pathFunction · 0.85
ChainTypeToStringFunction · 0.85
GetChainTypeMethod · 0.45

Tested by

no test coverage detected