save screenshots in AppData. It's more confusing having written data spread into the Pictures dir
This commit is contained in:
@@ -61,10 +61,8 @@ void ArchHooks::MountInitialFilesystems( const RString &sDirOfExecutable )
|
|||||||
FILEMAN->Mount( "dir", sAppDataDir + "/Cache", "/Cache" );
|
FILEMAN->Mount( "dir", sAppDataDir + "/Cache", "/Cache" );
|
||||||
FILEMAN->Mount( "dir", sAppDataDir + "/Logs", "/Logs" );
|
FILEMAN->Mount( "dir", sAppDataDir + "/Logs", "/Logs" );
|
||||||
FILEMAN->Mount( "dir", sAppDataDir + "/Save", "/Save" );
|
FILEMAN->Mount( "dir", sAppDataDir + "/Save", "/Save" );
|
||||||
|
FILEMAN->Mount( "dir", sAppDataDir + "/Screenshots", "/Screenshots" );
|
||||||
FILEMAN->Mount( "dir", sAppDataDir + "/Packages", "/" + SpecialFiles::USER_PACKAGES_DIR );
|
FILEMAN->Mount( "dir", sAppDataDir + "/Packages", "/" + SpecialFiles::USER_PACKAGES_DIR );
|
||||||
|
|
||||||
RString sPicturesDir = bPortable ? sPortableDir : SpecialDirs::GetPicturesDir() + PRODUCT_ID;
|
|
||||||
FILEMAN->Mount( "dir", sPicturesDir, "/Screenshots" );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static RString LangIdToString( LANGID l )
|
static RString LangIdToString( LANGID l )
|
||||||
|
|||||||
@@ -23,11 +23,6 @@ RString SpecialDirs::GetDesktopDir()
|
|||||||
return GetSpecialFolderPath( CSIDL_DESKTOP );
|
return GetSpecialFolderPath( CSIDL_DESKTOP );
|
||||||
}
|
}
|
||||||
|
|
||||||
RString SpecialDirs::GetPicturesDir()
|
|
||||||
{
|
|
||||||
return GetSpecialFolderPath( CSIDL_MYPICTURES );
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* (c) 2002-2004 Chris Danford
|
* (c) 2002-2004 Chris Danford
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ namespace SpecialDirs
|
|||||||
{
|
{
|
||||||
RString GetAppDataDir();
|
RString GetAppDataDir();
|
||||||
RString GetDesktopDir();
|
RString GetDesktopDir();
|
||||||
RString GetPicturesDir();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user