src/AppInstallerCommonCore/Runtime.cpp
std::filesystem::path GetPathToAppDataRoot()
        {
            THROW_HR_IF(E_NOT_VALID_STATE, IsRunningInPackagedContext());

            std::filesystem::path result = GetKnownFolderPath(FOLDERID_LocalAppData);
            result /= "Microsoft/WinGet";

            return result;
        }
// Gets the path to the appdata root.
// *Only used by non packaged version!*

Gets the path to the appdata root.
Only used by non packaged version!
Gets the path to the appdata root . Only used by non packaged version!
std::filesystem::path GetPathToAppDataRoot()
        {
            THROW_HR_IF(E_NOT_VALID_STATE, IsRunningInPackagedContext());
            std::filesystem::path result = GetKnownFolderPath(FOLDERID_LocalAppData);
            result /= "Microsoft/WinGet";
            return result;
        }
std :: filesystem :: path GetPathToAppDataRoot ( ) { THROW_HR_IF ( E_NOT_VALID_STATE , IsRunningInPackagedContext ( ) ) ; std :: filesystem :: path result = GetKnownFolderPath ( FOLDERID_LocalAppData ) ; result /= " " ; return result ; }
Gets the path to the appdata root.
Gets the path to the appdata root .