MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / GetAutostartDir

Function GetAutostartDir

src/qt/guiutil.cpp:614–621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

612// http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html
613
614fs::path static GetAutostartDir()
615{
616 char* pszConfigHome = getenv("XDG_CONFIG_HOME");
617 if (pszConfigHome) return fs::path(pszConfigHome) / "autostart";
618 char* pszHome = getenv("HOME");
619 if (pszHome) return fs::path(pszHome) / ".config" / "autostart";
620 return fs::path();
621}
622
623fs::path static GetAutostartFilePath()
624{

Callers 2

GetAutostartFilePathFunction · 0.85
SetStartOnSystemStartupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected