@@ -22,6 +22,7 @@ namespace AppInstaller::Runtime
2222 {
2323 using namespace std ::string_view_literals;
2424 constexpr std::string_view s_DefaultTempDirectory = " WinGet" sv;
25+ constexpr std::string_view s_SettingsFile_Relative = " Settings" sv;
2526 constexpr std::string_view s_SecureSettings_Base = " Microsoft\\ WinGet" sv;
2627 constexpr std::string_view s_SecureSettings_UserRelative = " settings" sv;
2728 constexpr std::string_view s_SecureSettings_Relative_Unpackaged = " win" sv;
@@ -288,9 +289,9 @@ namespace AppInstaller::Runtime
288289 result.Path .assign (appStorage.LocalFolder ().Path ().c_str ());
289290 mayBeInProfilePath = true ;
290291 break ;
291- case PathName::PackagedTemp :
292- result.Path .assign (appStorage.TemporaryFolder ().Path ().c_str ());
293- result.Path /= s_DefaultTempDirectory ;
292+ case PathName::StandardFileSettings :
293+ result.Path .assign (appStorage.LocalFolder ().Path ().c_str ());
294+ result.Path /= s_SettingsFile_Relative ;
294295 mayBeInProfilePath = true ;
295296 break ;
296297 case PathName::DefaultLogLocation:
@@ -399,7 +400,6 @@ namespace AppInstaller::Runtime
399400 switch (path)
400401 {
401402 case PathName::Temp:
402- case PathName::PackagedTemp:
403403 case PathName::DefaultLogLocation:
404404 {
405405 result.Path = GetPathToUserTemp (forDisplay);
@@ -419,6 +419,7 @@ namespace AppInstaller::Runtime
419419 result.Path /= GetRuntimePathStateName ();
420420 break ;
421421 case PathName::StandardSettings:
422+ case PathName::StandardFileSettings:
422423 case PathName::UserFileSettings:
423424 result = Filesystem::GetPathDetailsFor (Filesystem::PathName::UnpackagedSettingsRoot, anonymize);
424425 result.Create = !forDisplay;
0 commit comments